summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/includeexpand.c
diff options
context:
space:
mode:
authorSam Bishop <sam@bishop.dhs.org>2008-03-21 07:02:04 +0000
committerSam Bishop <sam@bishop.dhs.org>2008-03-21 07:02:04 +0000
commit558447416dd7e55cb4a92f3eae36e6350826cdff (patch)
tree316f5ce5ada962305bfab30e4852cea8952981b3 /clang/test/Preprocessor/includeexpand.c
parent68b11e14bc68101f5d1bc776520083abd827852e (diff)
downloadbcm5719-llvm-558447416dd7e55cb4a92f3eae36e6350826cdff.tar.gz
bcm5719-llvm-558447416dd7e55cb4a92f3eae36e6350826cdff.zip
Use the -E option when invoking clang. Only the preprocessor is
required to perform this test. llvm-svn: 48636
Diffstat (limited to 'clang/test/Preprocessor/includeexpand.c')
-rw-r--r--clang/test/Preprocessor/includeexpand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Preprocessor/includeexpand.c b/clang/test/Preprocessor/includeexpand.c
index 33637952b79..89696c470cc 100644
--- a/clang/test/Preprocessor/includeexpand.c
+++ b/clang/test/Preprocessor/includeexpand.c
@@ -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
OpenPOWER on IntegriCloud