improved test of last attribute

This commit is contained in:
Wolfgang Bumiller 2014-01-01 12:18:54 +01:00
parent 5319caaaea
commit acdc559d1f
3 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,5 @@
float here;
[[last]] float here;
#ifdef MAKE_IT_FAIL
float here;
#endif

View file

@ -1,5 +1,5 @@
I: last.qc
D: last attribute
T: -fail
C: -std=gmqcc
T: -compile
C: -std=gmqcc -fftepp
F: -no-defs

5
tests/last2.tmpl Normal file
View file

@ -0,0 +1,5 @@
I: last.qc
D: last attribute
T: -fail
C: -std=gmqcc -DMAKE_IT_FAIL
F: -no-defs