diff options
Diffstat (limited to 'clang/test/CXX/temp/temp.decls/p3.cpp')
| -rw-r--r-- | clang/test/CXX/temp/temp.decls/p3.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/CXX/temp/temp.decls/p3.cpp b/clang/test/CXX/temp/temp.decls/p3.cpp index 21c82e6f227..54800e4061e 100644 --- a/clang/test/CXX/temp/temp.decls/p3.cpp +++ b/clang/test/CXX/temp/temp.decls/p3.cpp @@ -4,5 +4,4 @@ template<typename T> using A = int; template<typename T> using A<T*> = char; // expected-error {{partial specialization of alias templates is not permitted}} template<> using A<char> = char; // expected-error {{explicit specialization of alias templates is not permitted}} template using A<char> = char; // expected-error {{explicit instantiation of alias templates is not permitted}} -// Best guess as to what the user was trying to do: missing template<>. -using A<char> = char; // expected-error {{partial specialization of alias templates is not permitted}} +using A<char> = char; // expected-error {{name defined in alias declaration must be an identifier}} |

