mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-03-21 10:21:03 +00:00
noref -compile testcase
This commit is contained in:
parent
0e4e81d94f
commit
36fe4e2729
2 changed files with 11 additions and 0 deletions
7
tests/noref.qc
Normal file
7
tests/noref.qc
Normal 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
4
tests/noref.tmpl
Normal file
|
@ -0,0 +1,4 @@
|
|||
I: noref.qc
|
||||
D: noref keyword and pragma
|
||||
T: -compile
|
||||
C: -std=qcc -Wall -Werror
|
Loading…
Reference in a new issue