summaryrefslogtreecommitdiffstats
path: root/test/Preprocessor/cxx_oper_keyword_ms_compat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/cxx_oper_keyword_ms_compat.cpp')
-rw-r--r--test/Preprocessor/cxx_oper_keyword_ms_compat.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Preprocessor/cxx_oper_keyword_ms_compat.cpp b/test/Preprocessor/cxx_oper_keyword_ms_compat.cpp
index 8e1351e..24a3898 100644
--- a/test/Preprocessor/cxx_oper_keyword_ms_compat.cpp
+++ b/test/Preprocessor/cxx_oper_keyword_ms_compat.cpp
@@ -1,6 +1,8 @@
// RUN: %clang_cc1 %s -E -verify -fms-extensions
// expected-no-diagnostics
+#pragma clang diagnostic ignored "-Wkeyword-macro"
+
bool f() {
// Check that operators still work before redefining them.
#if compl 0 bitand 1
OpenPOWER on IntegriCloud