From: Wolfgang Bumiller Date: Wed, 1 Jan 2014 11:18:54 +0000 (+0100) Subject: improved test of last attribute X-Git-Tag: xonotic-v0.8.0~23 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=commitdiff_plain;h=acdc559d1f635824aa106650ab1ec5c01bd72235 improved test of last attribute --- 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