xref: /llvm-project/clang/test/Lexer/newline-nul.c (revision 1d2ae94b5dbd0ec575b28744a5c34d3a5c133568)
1 // RUN: %clang_cc1 -E %s -verify
2 
3 // We used to crash if a line continuation was followed by a nul byte within a
4 // preprocessing directive.
5 # if 1 \
6 �#if something_else // expected-warning {{null character ignored}} expected-error {{not a valid binary operator}}
7 #error error
8 #endif
9 #endif // expected-error {{#endif without #if}}
10