]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - misc/source/gmqcc-src/tests/ternary.tmpl
By fteqcc, hello gmqcc
[voretournament/voretournament.git] / misc / source / gmqcc-src / tests / ternary.tmpl
diff --git a/misc/source/gmqcc-src/tests/ternary.tmpl b/misc/source/gmqcc-src/tests/ternary.tmpl
new file mode 100644 (file)
index 0000000..ae88aaa
--- /dev/null
@@ -0,0 +1,21 @@
+I: ternary.qc
+D: nested ternary expressions
+T: -execute
+C: -std=fteqcc -fcorrect-ternary
+M: 1 a=1
+M: 1 a=2
+M: 1 a=other
+M: 0 not met
+M: 0 not met
+M: 0 not met
+M: 1 a=1
+M: 1 a=2
+M: 1 a=other
+M: 0 not met
+M: 0 not met
+M: 0 not met
+M: 5
+M: 9
+M: 10
+M: select_a: 1
+M: select_b: 0