]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
improved test of last attribute
authorWolfgang Bumiller <wry.git@bumiller.com>
Wed, 1 Jan 2014 11:18:54 +0000 (12:18 +0100)
committerWolfgang Bumiller <wry.git@bumiller.com>
Wed, 1 Jan 2014 11:18:54 +0000 (12:18 +0100)
tests/last.qc
tests/last.tmpl
tests/last2.tmpl [new file with mode: 0644]

index 86c5c4898fcf670389aa39d809de3d81b993931b..b501578dc09696ef374de541a9e0f56596a90472 100644 (file)
@@ -1,3 +1,5 @@
 float here;
 [[last]] float here;
+#ifdef MAKE_IT_FAIL
 float here;
+#endif
index c88b7d774e2797b125687abdd25ee4ad8f521d40..6ca71512fbb68720c33bc042b868732e02988764 100644 (file)
@@ -1,5 +1,5 @@
 I: last.qc
 D: last attribute
-T: -fail
-C: -std=gmqcc
+T: -compile
+C: -std=gmqcc -fftepp
 F: -no-defs
diff --git a/tests/last2.tmpl b/tests/last2.tmpl
new file mode 100644 (file)
index 0000000..82540c7
--- /dev/null
@@ -0,0 +1,5 @@
+I: last.qc
+D: last attribute
+T: -fail
+C: -std=gmqcc -DMAKE_IT_FAIL
+F: -no-defs