summaryrefslogtreecommitdiffstats
path: root/test/SemaCXX/cxx98-compat.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2011-10-13 22:45:21 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2011-10-13 22:45:21 +0000
commit946967806a449488a91d74e2693295a2413a2835 (patch)
treeb5d28be1334d95b0f810d91981b74b21e7b61dd3 /test/SemaCXX/cxx98-compat.cpp
parentcda57822327499aeb6fe606f9cf5903cffca3444 (diff)
Convert newly-added test from -std=c++0x to -std=c++11.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141904 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/cxx98-compat.cpp')
-rw-r--r--test/SemaCXX/cxx98-compat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/cxx98-compat.cpp b/test/SemaCXX/cxx98-compat.cpp
index 37815d4797..c4956c2891 100644
--- a/test/SemaCXX/cxx98-compat.cpp
+++ b/test/SemaCXX/cxx98-compat.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++0x -Wc++98-compat -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++11 -Wc++98-compat -verify %s
template<typename ...T> // expected-warning {{variadic templates are incompatible with C++98}}
class Variadic1 {};