forked from OSchip/llvm-project
Use the -E option when invoking clang. Only the preprocessor is
required to perform this test. llvm-svn: 48636
This commit is contained in:
parent
68b11e14bc
commit
558447416d
|
@ -1,4 +1,4 @@
|
|||
/* RUN: clang %s 2>&1 | grep error: | count 3
|
||||
/* RUN: clang -E %s 2>&1 >/dev/null | grep error: | count 3
|
||||
*/
|
||||
|
||||
#ifdef
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: clang %s -fno-caret-diagnostics 2>&1 | grep 'file successfully included' | wc -l | grep 3
|
||||
// RUN: clang -E %s -fno-caret-diagnostics 2>&1 >/dev/null | grep 'file successfully included' | count 3
|
||||
|
||||
// XX expands to nothing.
|
||||
#define XX
|
||||
|
|
Loading…
Reference in New Issue