ORCA-C/Tests/Deviance/D3.3.3.1.CC

17 lines
379 B
C++

/* Deviance Test 3.3.3.1: Ensure macros which expand into preprocessor */
/* commands are not parsed as preprocessor cmds */
int printf(const char *, ...);
#define includeFile #include <string.h>
#define badValue #define reallyBadValue 5
int main (void)
{
includeFile
badValue
printf ("Failed Deviance Test 3.3.3.1\n");
}