summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/disabled-cond-diags.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Preprocessor/disabled-cond-diags.c')
-rw-r--r--clang/test/Preprocessor/disabled-cond-diags.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Preprocessor/disabled-cond-diags.c b/clang/test/Preprocessor/disabled-cond-diags.c
index 531842a7315..40c9f44d923 100644
--- a/clang/test/Preprocessor/disabled-cond-diags.c
+++ b/clang/test/Preprocessor/disabled-cond-diags.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -E %s 2>&1 | not grep "warning\|error"
+// RUN: %clang_cc1 -E %s 2>&1 | grep -v '^#' | not grep "warning\|error"
#if 0
OpenPOWER on IntegriCloud