Files
UnrealEngineUWP/Engine/Source/ThirdParty/MCPP/mcpp-2.7.2/cpp-test/test-t/n_8.c
UnrealBot f645340e6e Code snapshot for CL 2114451
[CL 2114451 in Main branch]
2014-06-23 17:33:51 -04:00

17 lines
445 B
C

/* n_8.c: #error directive. */
/* 8.1: Argument of #error directive is not a subject of macro expansion.
Output to stderr as an example:
Preprocessing error directive: MACRO is not a positive number.
from line 10 of file "n_8.c"
*/
#define MACRO 0
#if MACRO <= 0
#error MACRO is not a positive number.
#endif
/* { dg-do preprocess }
{ dg-error "MACRO is not a positive number." "n_8.c" { target *-*-* } 10 }
*/