diff options
Diffstat (limited to 'test/CXX/temp/temp.param')
| -rw-r--r-- | test/CXX/temp/temp.param/p10-0x.cpp | 2 | ||||
| -rw-r--r-- | test/CXX/temp/temp.param/p11-0x.cpp | 2 | ||||
| -rw-r--r-- | test/CXX/temp/temp.param/p15-cxx0x.cpp | 2 | ||||
| -rw-r--r-- | test/CXX/temp/temp.param/p15.cpp | 2 | ||||
| -rw-r--r-- | test/CXX/temp/temp.param/p9-0x.cpp | 2 | ||||
| -rw-r--r-- | test/CXX/temp/temp.param/p9.cpp | 4 |
6 files changed, 7 insertions, 7 deletions
diff --git a/test/CXX/temp/temp.param/p10-0x.cpp b/test/CXX/temp/temp.param/p10-0x.cpp index bc7e616fb13d1..37bb284a36eb6 100644 --- a/test/CXX/temp/temp.param/p10-0x.cpp +++ b/test/CXX/temp/temp.param/p10-0x.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s +// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s template<typename> struct Y1; template<typename, int> struct Y2; diff --git a/test/CXX/temp/temp.param/p11-0x.cpp b/test/CXX/temp/temp.param/p11-0x.cpp index 10a44380c8d1d..1971aa10c2c73 100644 --- a/test/CXX/temp/temp.param/p11-0x.cpp +++ b/test/CXX/temp/temp.param/p11-0x.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s +// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s // If a template-parameter of a class template or alias template has a default // template-argument, each subsequent template-parameter shall either have a diff --git a/test/CXX/temp/temp.param/p15-cxx0x.cpp b/test/CXX/temp/temp.param/p15-cxx0x.cpp index f4be5b960b6cf..5fc57a43f5417 100644 --- a/test/CXX/temp/temp.param/p15-cxx0x.cpp +++ b/test/CXX/temp/temp.param/p15-cxx0x.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s +// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s template<typename T> struct X; template<int I> struct Y; diff --git a/test/CXX/temp/temp.param/p15.cpp b/test/CXX/temp/temp.param/p15.cpp index 13087791a3db3..ee572e986b939 100644 --- a/test/CXX/temp/temp.param/p15.cpp +++ b/test/CXX/temp/temp.param/p15.cpp @@ -9,4 +9,4 @@ X<X<X<X<int>> // expected-error{{a space is required between consecutive right a >> *x3; // expected-error{{a space is required between consecutive right angle brackets (use '> >')}} Y<(1 >> 2)> *y1; -Y<1 >> 2> *y2; // expected-warning{{use of right-shift operator ('>>') in template argument will require parentheses in C++0x}} +Y<1 >> 2> *y2; // expected-warning{{use of right-shift operator ('>>') in template argument will require parentheses in C++11}} diff --git a/test/CXX/temp/temp.param/p9-0x.cpp b/test/CXX/temp/temp.param/p9-0x.cpp index 1dc6640fe2666..29a7549a8f1ae 100644 --- a/test/CXX/temp/temp.param/p9-0x.cpp +++ b/test/CXX/temp/temp.param/p9-0x.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s +// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s // A default template-argument may be specified for any kind of // template-parameter that is not a template parameter pack. diff --git a/test/CXX/temp/temp.param/p9.cpp b/test/CXX/temp/temp.param/p9.cpp index 62af522cd2c9b..b2318c275e44c 100644 --- a/test/CXX/temp/temp.param/p9.cpp +++ b/test/CXX/temp/temp.param/p9.cpp @@ -2,9 +2,9 @@ // A default template-argument shall not be specified in a function // template declaration or a function template definition -template<typename T = int> // expected-warning{{default template arguments for a function template are a C++0x extension}} +template<typename T = int> // expected-warning{{default template arguments for a function template are a C++11 extension}} void foo0(T); -template<typename T = int> // expected-warning{{default template arguments for a function template are a C++0x extension}} +template<typename T = int> // expected-warning{{default template arguments for a function template are a C++11 extension}} void foo1(T) { } // [...] nor in the template-parameter-list of the definition of a |
