diff options
author | Chris Lattner <sabre@nondot.org> | 2006-06-18 07:00:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-06-18 07:00:07 +0000 |
commit | 1500881bd9e06e434c63e4b797d3908668c55a8a (patch) | |
tree | 85887035dc485354daf7ce1e84f5cd73d1cf3b3c /clang/test/Lexer/block_cmt_end.c | |
parent | 1f5830546a18dc399331e7e70ae83665c82ad4f4 (diff) | |
download | bcm5719-llvm-1500881bd9e06e434c63e4b797d3908668c55a8a.tar.gz bcm5719-llvm-1500881bd9e06e434c63e4b797d3908668c55a8a.zip |
new testcase
llvm-svn: 38544
Diffstat (limited to 'clang/test/Lexer/block_cmt_end.c')
-rw-r--r-- | clang/test/Lexer/block_cmt_end.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/clang/test/Lexer/block_cmt_end.c b/clang/test/Lexer/block_cmt_end.c new file mode 100644 index 00000000000..4517c9b636e --- /dev/null +++ b/clang/test/Lexer/block_cmt_end.c @@ -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 + |