Author: void
Date: Wed Jan 23 17:06:28 2013
New Revision: 173306
URL: http://llvm.org/viewvc/llvm-project?rev=173306&view=rev
Log:
Don't check lines beginning with '#', since they could contain a path with the
unexpected word in them.
Modified:
cfe/trunk/test/Lexer/unknown-char.c
Modified: cfe/trunk/test/Lexer/unknown-char.c
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Lexer/unknown-char.c?rev=173306&r1=173305&r2=173306&view=diff
==============================================================================
--- cfe/trunk/test/Lexer/unknown-char.c (original)
+++ cfe/trunk/test/Lexer/unknown-char.c Wed Jan 23 17:06:28 2013
@@ -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
` ` ` `
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits