forked from OSchip/llvm-project
Testcases for comment saving modes, -C and -CC.
llvm-svn: 38785
This commit is contained in:
parent
cd028fc1f6
commit
f35d327a99
|
@ -0,0 +1,7 @@
|
|||
// RUN: clang -E -C %s | grep '^// foo$' &&
|
||||
// RUN: clang -E -C %s | grep -F '^/* bar */$'
|
||||
|
||||
// foo
|
||||
/* bar */
|
||||
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
// RUN: clang -E -C %s | grep '^boo bork bar // zot$' &&
|
||||
// RUN: clang -E -CC %s | grep -F '^boo bork /* blah*/ bar // zot$' &&
|
||||
// RUN: clang -E %s | grep '^boo bork bar$'
|
||||
|
||||
|
||||
#define FOO bork // blah
|
||||
boo FOO bar // zot
|
||||
|
Loading…
Reference in New Issue