From acdc559d1f635824aa106650ab1ec5c01bd72235 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 1 Jan 2014 12:18:54 +0100 Subject: [PATCH] improved test of last attribute --- tests/last.qc | 2 ++ tests/last.tmpl | 4 ++-- tests/last2.tmpl | 5 +++++ 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 tests/last2.tmpl diff --git a/tests/last.qc b/tests/last.qc index 86c5c48..b501578 100644 --- a/tests/last.qc +++ b/tests/last.qc @@ -1,3 +1,5 @@ float here; [[last]] float here; +#ifdef MAKE_IT_FAIL float here; +#endif diff --git a/tests/last.tmpl b/tests/last.tmpl index c88b7d7..6ca7151 100644 --- a/tests/last.tmpl +++ b/tests/last.tmpl @@ -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 index 0000000..82540c7 --- /dev/null +++ b/tests/last2.tmpl @@ -0,0 +1,5 @@ +I: last.qc +D: last attribute +T: -fail +C: -std=gmqcc -DMAKE_IT_FAIL +F: -no-defs -- 2.39.2