aboutsummaryrefslogtreecommitdiff
path: root/test/Lexer
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-01-23 23:06:28 +0000
committerBill Wendling <isanbard@gmail.com>2013-01-23 23:06:28 +0000
commitee64b81c36d60483d385d6a099df1e6b5bb30618 (patch)
tree615899f647de8ddb9421058d4a5f59201e105f8d /test/Lexer
parent0e697aa6704dbc9c4c693ac5cdb60dbc791920d2 (diff)
Don't check lines beginning with '#', since they could contain a path with the unexpected word in them.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173306 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Lexer')
-rw-r--r--test/Lexer/unknown-char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Lexer/unknown-char.c b/test/Lexer/unknown-char.c
index 334df37225..57f7904998 100644
--- a/test/Lexer/unknown-char.c
+++ b/test/Lexer/unknown-char.c
@@ -1,2 +1,2 @@
-// RUN: %clang_cc1 -E %s 2>&1 | not grep error
+// RUN: %clang_cc1 -E %s 2>&1 | grep -v '^#' | not grep error
` ` ` `