aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Beaumont-Gay <matthewbg@google.com>2011-05-10 20:28:29 +0000
committerMatt Beaumont-Gay <matthewbg@google.com>2011-05-10 20:28:29 +0000
commitc436708c65be210d2ab761a02df2b6c06bd0a85b (patch)
treece3a585518c3d2e8c52ce2da30328ed6edaee7e7
parentf961ea5716867b5e426fb2136edd6d1f04c3a7ca (diff)
Change magic string "abc" to better magic string "qux".
Wait, what? So, we run Clang (and LLVM) tests in an environment where the md5sum of the input files becomes a component of the path. When testing the preprocessor, the path becomes part of the output (in line directives). In this test, we were grepping for the absence of "abc" in the output. When the stars aligned properly, the md5sum component of the path contained "abc" and the test failed. Oops. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131147 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Lexer/block_cmt_end.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/Lexer/block_cmt_end.c b/test/Lexer/block_cmt_end.c
index b03fb23f8e..f54b6a4a21 100644
--- a/test/Lexer/block_cmt_end.c
+++ b/test/Lexer/block_cmt_end.c
@@ -1,7 +1,7 @@
/*
RUN: %clang_cc1 -E -trigraphs %s | grep bar
RUN: %clang_cc1 -E -trigraphs %s | grep foo
- RUN: %clang_cc1 -E -trigraphs %s | not grep abc
+ RUN: %clang_cc1 -E -trigraphs %s | not grep qux
RUN: %clang_cc1 -E -trigraphs %s | not grep xyz
RUN: %clang_cc1 -fsyntax-only -trigraphs -verify %s
*/
@@ -9,7 +9,7 @@
// This is a simple comment, /*/ does not end a comment, the trailing */ does.
int i = /*/ */ 1;
-/* abc
+/* qux
next comment ends with normal escaped newline:
*/
@@ -32,7 +32,3 @@ foo
// rdar://6060752 - We should not get warnings about trigraphs in comments:
// '????'
/* ???? */
-
-
-
-