aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/macro-reserved-cxx11.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/macro-reserved-cxx11.cpp')
-rw-r--r--test/Preprocessor/macro-reserved-cxx11.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Preprocessor/macro-reserved-cxx11.cpp b/test/Preprocessor/macro-reserved-cxx11.cpp
index a740ff612954..6daea953e8a6 100644
--- a/test/Preprocessor/macro-reserved-cxx11.cpp
+++ b/test/Preprocessor/macro-reserved-cxx11.cpp
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -std=c++11 -pedantic -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++14 -pedantic -verify %s
#define for 0 // expected-warning {{keyword is hidden by macro definition}}
#define final 1 // expected-warning {{keyword is hidden by macro definition}}