Implemented preprocessing error directive tests (should fail)

This commit is contained in:
Dale Weiler 2012-12-21 04:48:01 +00:00
parent 0e40ef172a
commit 0be55824d4
2 changed files with 9 additions and 0 deletions

5
tests/pperror.qc Normal file
View 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
View file

@ -0,0 +1,4 @@
I: pperror.qc
D: preprocessor #error directive
T: -fail
C: -std=fteqcc