Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Misc / diag-special-chars.c
blobd514c596d842ac01e0c68ec92222f74ac9da8577
1 // RUN: %clang_cc1 %s -verify
2 // RUN: not %clang_cc1 %s 2>&1 | FileCheck %s
4 // There is a special characters on the following line, which is used as a
5 // marker character for diagnostic printing. Ensure diagnostics involving
6 // this character does not cause problems with the diagnostic printer.
7 #error Hi \x7f Bye
8 // expected-error@-1 {{Hi <U+007F> Bye}}
10 // CHECK: error: Hi <U+007F> Bye
11 // CHECK: #error Hi <U+007F> Bye