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