noref -compile testcase

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-12-04 12:50:38 +01:00
parent 0e4e81d94f
commit 36fe4e2729
2 changed files with 11 additions and 0 deletions

7
tests/noref.qc Normal file
View file

@ -0,0 +1,7 @@
#pragma noref 1
float unused_global_1;
#pragma noref 0
noref float unused_global_2;
void() main = {
};

4
tests/noref.tmpl Normal file
View file

@ -0,0 +1,4 @@
I: noref.qc
D: noref keyword and pragma
T: -compile
C: -std=qcc -Wall -Werror