brintos

brintos / llvm-project-archived public Read only

0
0
Text · 422 B · d514c59 Raw
12 lines · c
1// RUN: %clang_cc1 %s -verify2// RUN: not %clang_cc1 %s 2>&1 | FileCheck %s3 4// There is a special characters on the following line, which is used as a5// marker character for diagnostic printing.  Ensure diagnostics involving6// this character does not cause problems with the diagnostic printer.7#error Hi  Bye8// expected-error@-1 {{Hi <U+007F> Bye}}9 10// CHECK: error: Hi <U+007F> Bye11// CHECK: #error Hi <U+007F> Bye12