blob: e656a09b427997746248e37a0d26dd75cb7c8643 [file] [log] [blame]
Richard Trieub3b8bb02015-01-08 01:27:03 +00001// RUN: %clang_cc1 %s -verify
2// RUN: not %clang_cc1 %s 2>&1 | FileCheck %s
3
Richard Trieu8ac14192015-01-08 02:40:08 +00004// 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  Bye
8//expected-error@-1 {{Hi Bye}}
Richard Trieub3b8bb02015-01-08 01:27:03 +00009
Richard Trieu8ac14192015-01-08 02:40:08 +000010// CHECK: error: Hi Bye
11// CHECK: #error Hi <U+007F> Bye