From: Wolfgang (Blub) Bumiller Date: Sun, 2 Dec 2012 10:52:11 +0000 (+0100) Subject: Updating ternary testcase to use -fcorrect-ternary - added fte-style test as well... X-Git-Tag: 0.1.9~133 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d39df54f8a3c83d7ff48bd3d48e5566eaf75839e;p=xonotic%2Fgmqcc.git Updating ternary testcase to use -fcorrect-ternary - added fte-style test as well for it --- diff --git a/tests/ternary-fte.tmpl b/tests/ternary-fte.tmpl new file mode 100644 index 0000000..40ae964 --- /dev/null +++ b/tests/ternary-fte.tmpl @@ -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 diff --git a/tests/ternary.tmpl b/tests/ternary.tmpl index 35d015b..cd8f330 100644 --- a/tests/ternary.tmpl +++ b/tests/ternary.tmpl @@ -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