[cfe-commits] r39708 - /cfe/cfe/trunk/test/Lexer/block_cmt_end.c

clattner at cs.uiuc.edu clattner at cs.uiuc.edu
Wed Jul 11 09:47:22 PDT 2007


Author: clattner
Date: Wed Jul 11 11:47:22 2007
New Revision: 39708

URL: http://llvm.org/viewvc/llvm-project?rev=39708&view=rev
Log:
fix this test to work with the checker.

Modified:
    cfe/cfe/trunk/test/Lexer/block_cmt_end.c

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

==============================================================================
--- cfe/cfe/trunk/test/Lexer/block_cmt_end.c (original)
+++ cfe/cfe/trunk/test/Lexer/block_cmt_end.c Wed Jul 11 11:47:22 2007
@@ -8,25 +8,20 @@
 
 /* abc
 
-ends with normal escaped newline:
-*\  
-/ \
-/* expected-warning {{escaped newline between}} \
-   expected-warning {{backslash and newline separated by space}} */
+next comment ends with normal escaped newline:
+*/
+
+/* expected-warning {{escaped newline}} expected-warning {{backslash and newline}}  *\  
+/
 
 bar
 
 /* xyz
 
+next comment ends with a trigraph escaped newline: */
+
+/* expected-warning {{escaped newline between}}   expected-warning {{backslash and newline separated by space}}    expected-warning {{trigraph ends block comment}}   *??/    
+/
 
-ends with a trigraph escaped newline:
-*??/    
-/ \
-/* expected-warning {{escaped newline between}} \
-   expected-warning {{backslash and newline separated by space}} \
-   expected-warning {{trigraph ends block comment}} */
-
-foo \
-/* expected-error \
-   {{expected '=', ',', ';', 'asm', or '__attribute__' after declarator}} */
+foo /* expected-error {{expected '=', ',', ';', 'asm', or '__attribute__' after declarator}} */
 





More information about the cfe-commits mailing list