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

sabre at cs.uiuc.edu sabre at cs.uiuc.edu
Wed Jul 11 09:22:24 PDT 2007


Author: sabre
Date: Wed Jul 11 11:22:24 2007
New Revision: 38544

URL: http://llvm.org/viewvc/llvm-project?rev=38544&view=rev
Log:
new testcase

Added:
    cfe/cfe/trunk/test/Lexer/block_cmt_end.c   (with props)

Added: 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=38544&view=auto

==============================================================================
--- cfe/cfe/trunk/test/Lexer/block_cmt_end.c (added)
+++ cfe/cfe/trunk/test/Lexer/block_cmt_end.c Wed Jul 11 11:22:24 2007
@@ -0,0 +1,24 @@
+/*
+RUN: clang -E %s | grep bar &&
+RUN: clang -E %s | grep foo &&
+RUN: clang -E %s | not grep abc &&
+RUN: clang -E %s | not grep xyz
+*/
+
+/* abc
+
+ends with normal escaped newline:
+*\  
+/
+
+bar
+
+/* xyz
+
+
+ends with a trigraph escaped newline:
+*??/    
+/
+
+foo
+

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

------------------------------------------------------------------------------
    svn:eol-style = native

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

------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision





More information about the cfe-commits mailing list