diff options
| author | Tim Northover <tnorthover@apple.com> | 2017-12-09 12:09:54 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2017-12-09 12:09:54 +0000 |
| commit | 36bb6d5d467350fa8056237cde4c5147a82f5938 (patch) | |
| tree | 4a423aa78e3e1c7d3c1117fff1c4f9d1963431b5 /clang/test/SemaTemplate/explicit-instantiation.cpp | |
| parent | 6504a8f8880f50e6f2e83df6053bd351e92bc794 (diff) | |
| download | bcm5719-llvm-36bb6d5d467350fa8056237cde4c5147a82f5938.tar.gz bcm5719-llvm-36bb6d5d467350fa8056237cde4c5147a82f5938.zip | |
Switch to gnu++14 as the default dialect.
This is C++14 with conforming GNU extensions.
llvm-svn: 320250
Diffstat (limited to 'clang/test/SemaTemplate/explicit-instantiation.cpp')
| -rw-r--r-- | clang/test/SemaTemplate/explicit-instantiation.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/test/SemaTemplate/explicit-instantiation.cpp b/clang/test/SemaTemplate/explicit-instantiation.cpp index 42d9f4d332a..d88c50bc29d 100644 --- a/clang/test/SemaTemplate/explicit-instantiation.cpp +++ b/clang/test/SemaTemplate/explicit-instantiation.cpp @@ -124,10 +124,10 @@ namespace PR10086 { namespace undefined_static_data_member { template<typename T> struct A { static int a; // expected-note {{here}} - template<typename U> static int b; // expected-note {{here}} expected-warning {{extension}} + template<typename U> static int b; // expected-note {{here}} expected-warning 0+ {{extension}} }; struct B { - template<typename U> static int c; // expected-note {{here}} expected-warning {{extension}} + template<typename U> static int c; // expected-note {{here}} expected-warning 0+ {{extension}} }; template int A<int>::a; // expected-error {{explicit instantiation of undefined static data member 'a' of class template 'undefined_static_data_member::A<int>'}} @@ -137,14 +137,14 @@ namespace undefined_static_data_member { template<typename T> struct C { static int a; - template<typename U> static int b; // expected-warning {{extension}} + template<typename U> static int b; // expected-warning 0+ {{extension}} }; struct D { - template<typename U> static int c; // expected-warning {{extension}} + template<typename U> static int c; // expected-warning 0+ {{extension}} }; template<typename T> int C<T>::a; - template<typename T> template<typename U> int C<T>::b; // expected-warning {{extension}} - template<typename U> int D::c; // expected-warning {{extension}} + template<typename T> template<typename U> int C<T>::b; // expected-warning 0+ {{extension}} + template<typename U> int D::c; // expected-warning 0+ {{extension}} template int C<int>::a; template int C<int>::b<int>; |

