1 // RUN: %clang_cc1 %s -Eonly -Werror=undef -verify
5 #if foo // expected-error {{'foo' is not defined, evaluates to 0}}
8 // expected-warning@+2 {{use of a '#elifdef' directive is a C23 extension}}
18 // expected-warning@+3 {{use of a '#elifdef' directive is a C23 extension}}
22 #else 1 // Should not warn due to C99 6.10p4
27 #else 1 // expected-warning {{extra tokens}}
31 #if 'somesillylongthing' // expected-warning {{character constant too long for its type}} \
32 // expected-warning {{multi-character character constant}}