1 /* Test #elifdef and #elifndef not in C11.  */
2 /* { dg-do preprocess } */
3 /* { dg-options "-std=c11 -pedantic-errors" } */
4 
5 #define A
6 #undef B
7 
8 #if 0
9 #elifdef A
10 #error "#elifdef A applied"
11 #endif
12 
13 #if 0
14 #elifndef B
15 #error "#elifndef B applied"
16 #endif
17