aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/cxx_true.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2012-09-20 02:38:38 +0000
committerEli Friedman <eli.friedman@gmail.com>2012-09-20 02:38:38 +0000
commit9c611373cc25300c02043bdde2f2a3d8008704f1 (patch)
tree9946eef32fea4b5505c79cb21e30bc930596dce2 /test/Preprocessor/cxx_true.cpp
parentc20c7275c351f362b42915901d308ac66b8b71d1 (diff)
The keywords "true" and "false" shouldn't warn under -Wundef.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164279 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor/cxx_true.cpp')
-rw-r--r--test/Preprocessor/cxx_true.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Preprocessor/cxx_true.cpp b/test/Preprocessor/cxx_true.cpp
index b123e0cb68..5ee29720d3 100644
--- a/test/Preprocessor/cxx_true.cpp
+++ b/test/Preprocessor/cxx_true.cpp
@@ -1,6 +1,7 @@
/* RUN: %clang_cc1 -E %s -x c++ | grep block_1
RUN: %clang_cc1 -E %s -x c++ | not grep block_2
RUN: %clang_cc1 -E %s -x c | not grep block
+ RUN: %clang_cc1 -E %s -x c++ -verify -Wundef
*/
#if true