aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2013-01-26 17:11:39 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2013-01-26 17:11:39 +0000
commita8a908b81dbe0efec6aed536eb1f704a9c5b5599 (patch)
tree6a713006582d8f7804d0815ef6b9c222a77764ed /test/Preprocessor
parent9677eb864f7354f140cd1bf59557843851e65de4 (diff)
Migrate tests to -verify
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173582 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor')
-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 40c9f44d92..0237b5debd 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 | grep -v '^#' | not grep "warning\|error"
+// RUN: %clang_cc1 -E -verify %s
+// expected-no-diagnostics
#if 0