Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
gcc.dg
/
cpp
/
c11-elifdef-1.c
blob: 2d5809a8378c733fe176cf5994a72d329dd46bf9 [
file
] [
log
] [
blame
]
/* Test #elifdef and #elifndef not in C11. */
/* { dg-do preprocess } */
/* { dg-options "-std=c11 -pedantic-errors" } */
#define
A
#undef
B
#if 0
#elifdef A
#error
"#elifdef A applied"
#endif
#if 0
#elifndef B
#error
"#elifndef B applied"
#endif