llvm-project/clang/test/Lexer/bcpl-escaped-newline.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
251 B
C
Raw Normal View History

// RUN: %clang_cc1 -Eonly -ftrigraphs %s
// RUN: %clang_cc1 -Eonly -verify %s
//\
#error bar
//??/
#error qux
// expected-error@-1 {{qux}}
// Trailing whitespace!
//\
#error quux
// expected-warning@-2 {{backslash and newline separated by space}}