]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
Updating ternary testcase to use -fcorrect-ternary - added fte-style test as well...
authorWolfgang (Blub) Bumiller <blub@speed.at>
Sun, 2 Dec 2012 10:52:11 +0000 (11:52 +0100)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Sun, 2 Dec 2012 10:52:25 +0000 (11:52 +0100)
tests/ternary-fte.tmpl [new file with mode: 0644]
tests/ternary.tmpl

diff --git a/tests/ternary-fte.tmpl b/tests/ternary-fte.tmpl
new file mode 100644 (file)
index 0000000..40ae964
--- /dev/null
@@ -0,0 +1,13 @@
+I: ternary.qc
+D: nested ternary expressions - FTE-style ternary
+T: -execute
+C: -std=fteqcc
+M: 1 a=11 a=21 a=other0
+M: 0
+M: 0
+M: 1 a=11 a=21 a=other0
+M: 0
+M: 0
+M: 5
+M: 9
+M: 10
index 35d015b440cd441c0c2587d6234f651b79ca92b6..cd8f330543fb15e919954cdcea0835a63b9592a4 100644 (file)
@@ -1,7 +1,7 @@
 I: ternary.qc
 D: nested ternary expressions
 T: -execute
-C: -std=fteqcc
+C: -std=fteqcc -fcorrect-ternary
 M: 1 a=1
 M: 1 a=2
 M: 1 a=other