[cfe-commits] r39695 - in /cfe/cfe/trunk/test/Lexer: badstring_in_if0.c escape_newline.c

bwendlin at cs.uiuc.edu bwendlin at cs.uiuc.edu
Wed Jul 11 09:47:15 PDT 2007


Author: bwendlin
Date: Wed Jul 11 11:47:14 2007
New Revision: 39695

URL: http://llvm.org/viewvc/llvm-project?rev=39695&view=rev
Log:
Submitted by: Bill Wendling

- Revert use of -parse-ast-check.

Modified:
    cfe/cfe/trunk/test/Lexer/badstring_in_if0.c
    cfe/cfe/trunk/test/Lexer/escape_newline.c

Modified: cfe/cfe/trunk/test/Lexer/badstring_in_if0.c
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/test/Lexer/badstring_in_if0.c?rev=39695&r1=39694&r2=39695&view=diff

==============================================================================
--- cfe/cfe/trunk/test/Lexer/badstring_in_if0.c (original)
+++ cfe/cfe/trunk/test/Lexer/badstring_in_if0.c Wed Jul 11 11:47:14 2007
@@ -1,4 +1,4 @@
-// RUN: clang -parse-ast-check %s
+// RUN: clang -E %s 2>&1 | not grep error
 #if 0
 
   "
@@ -6,4 +6,3 @@
   '
 
 #endif
-/* expected-warning {{ISO C forbids an empty source file}} */

Modified: cfe/cfe/trunk/test/Lexer/escape_newline.c
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/test/Lexer/escape_newline.c?rev=39695&r1=39694&r2=39695&view=diff

==============================================================================
--- cfe/cfe/trunk/test/Lexer/escape_newline.c (original)
+++ cfe/cfe/trunk/test/Lexer/escape_newline.c Wed Jul 11 11:47:14 2007
@@ -1,8 +1,7 @@
 // RUN: clang -E %s | grep -- ' ->' &&
-// RUN: clang -parse-ast-check %s
+// RUN: clang -E %s 2>&1 | grep 'backslash and newline separated by space' &&
+// RUN: clang -E %s 2>&1 | grep 'trigraph converted'
 
 // This is an ugly way to spell a -> token.
-/* expected-warning {{trigraph converted to '\' character}} \
-   expected-warning {{backslash and newline separated by space}} \
-   expected-error {{expected identifier or '('}} */ -??/      
+ -??/      
 >





More information about the cfe-commits mailing list