// RUN: %clang_cc1 %s -Eonly -Werror=undef -verify
extern int x;
// expected-warning@+2 {{use of a '#elifdef' directive is a C2x extension}}
#elifdef foo
// PR3938
// expected-warning@+3 {{use of a '#elifdef' directive is a C2x extension}}
D
#elifdef D
#else 1 // Should not warn due to C99 6.10p4
// rdar://9475098
1 // expected-warning {{extra tokens}}
// PR6852