mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-18 14:21:36 +00:00
Implemented preprocessing error directive tests (should fail)
This commit is contained in:
parent
0e40ef172a
commit
0be55824d4
2 changed files with 9 additions and 0 deletions
5
tests/pperror.qc
Normal file
5
tests/pperror.qc
Normal file
|
@ -0,0 +1,5 @@
|
|||
/*
|
||||
* Cause a compile-time error via preprocessor directive. This code should
|
||||
* not compile.
|
||||
*/
|
||||
#error "Fail to compile"
|
4
tests/pperror.tmpl
Normal file
4
tests/pperror.tmpl
Normal file
|
@ -0,0 +1,4 @@
|
|||
I: pperror.qc
|
||||
D: preprocessor #error directive
|
||||
T: -fail
|
||||
C: -std=fteqcc
|
Loading…
Reference in a new issue