r225426 - Attempt to fix test from r225423 to get build bots green.
Richard Trieu
rtrieu at google.com
Wed Jan 7 18:40:08 PST 2015
Author: rtrieu
Date: Wed Jan 7 20:40:08 2015
New Revision: 225426
URL: http://llvm.org/viewvc/llvm-project?rev=225426&view=rev
Log:
Attempt to fix test from r225423 to get build bots green.
Modified:
cfe/trunk/test/Misc/diag-special-chars.c
Modified: cfe/trunk/test/Misc/diag-special-chars.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Misc/diag-special-chars.c?rev=225426&r1=225425&r2=225426&view=diff
==============================================================================
--- cfe/trunk/test/Misc/diag-special-chars.c (original)
+++ cfe/trunk/test/Misc/diag-special-chars.c Wed Jan 7 20:40:08 2015
@@ -1,11 +1,11 @@
// RUN: %clang_cc1 %s -verify
// RUN: not %clang_cc1 %s 2>&1 | FileCheck %s
-// There are two special characters on the following line, one which is used
-// as a marker character for diagnostic printing. Ensure diagnostics involving
-// these characters do not cause problems with the diagnostic printer.
-#error Hi  Bye
-//expected-error at -1 {{Hi Bye}}
+// There is a special characters on the following line, which is used as a
+// marker character for diagnostic printing. Ensure diagnostics involving
+// this character does not cause problems with the diagnostic printer.
+#error Hi Bye
+//expected-error at -1 {{Hi Bye}}
-// CHECK: error: Hi Bye
-// CHECK: #error Hi <U+007F> <U+0080> Bye
+// CHECK: error: Hi Bye
+// CHECK: #error Hi <U+007F> Bye
More information about the cfe-commits
mailing list