summaryrefslogtreecommitdiff
path: root/test/CXX/temp/temp.decls
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2016-08-31 23:24:08 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2016-08-31 23:24:08 +0000
commit29b387005ef64d47e2cc198f6015953d1da183bd (patch)
tree15906ebfce8e50db66a33c7a28997e76bb9da9ab /test/CXX/temp/temp.decls
parentf3b78ea7320dc81622421c36271adbec3c923ece (diff)
downloadclang-29b387005ef64d47e2cc198f6015953d1da183bd.tar.gz
Fix all tests under test/CXX (and test/Analysis) to pass if clang's default
C++ language standard is not C++98. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@280309 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CXX/temp/temp.decls')
-rw-r--r--test/CXX/temp/temp.decls/temp.class/temp.static/p1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CXX/temp/temp.decls/temp.class/temp.static/p1.cpp b/test/CXX/temp/temp.decls/temp.class/temp.static/p1.cpp
index 215f48d9d8..332357bb36 100644
--- a/test/CXX/temp/temp.decls/temp.class/temp.static/p1.cpp
+++ b/test/CXX/temp/temp.decls/temp.class/temp.static/p1.cpp
@@ -28,4 +28,4 @@ X2& get_X2() {
return X0<X2>::value; // expected-note{{instantiation}}
}
-template<typename T> T x; // expected-warning{{variable templates are a C++14 extension}}
+template<typename T> T x; // expected-warning 0-1{{variable templates are a C++14 extension}}