From d39df54f8a3c83d7ff48bd3d48e5566eaf75839e Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Sun, 2 Dec 2012 11:52:11 +0100 Subject: [PATCH] Updating ternary testcase to use -fcorrect-ternary - added fte-style test as well for it --- tests/ternary-fte.tmpl | 13 +++++++++++++ tests/ternary.tmpl | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 tests/ternary-fte.tmpl 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 -- 2.39.2