mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-06-17 20:29:31 +00:00
1 line
321 B
C++
Executable File
1 line
321 B
C++
Executable File
/* Conformance Test 3.5.1.3: Verify macro expansion in #if commands */
|
|
|
|
#define VAL1 1
|
|
#undef VAL1
|
|
|
|
#if !VAL1 /* VAL1 should be undefined, and so evaluate as 0 */
|
|
main ()
|
|
{
|
|
printf ("Passed Conformance Test 3.5.1.3\n");
|
|
}
|
|
#else
|
|
main ()
|
|
{
|
|
printf ("Failed Conformance Test 3.5.1.3\n");
|
|
}
|
|
#endif
|