1762bb9d0ad20320b9f97a841dce57ba5e8e48b07Richard Smith// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
23e4c6c4c79a03f5cb0c4671d7c282d623c6dc35eRichard Smith
33e4c6c4c79a03f5cb0c4671d7c282d623c6dc35eRichard Smithtemplate<typename T> using A = int;
43e4c6c4c79a03f5cb0c4671d7c282d623c6dc35eRichard Smithtemplate<typename T> using A<T*> = char; // expected-error {{partial specialization of alias templates is not permitted}}
53e4c6c4c79a03f5cb0c4671d7c282d623c6dc35eRichard Smithtemplate<> using A<char> = char; // expected-error {{explicit specialization of alias templates is not permitted}}
63e4c6c4c79a03f5cb0c4671d7c282d623c6dc35eRichard Smithtemplate using A<char> = char; // expected-error {{explicit instantiation of alias templates is not permitted}}
7536e9c1f103f3e59ed47e35090819eb93596c35bRichard Smithusing A<char> = char; // expected-error {{name defined in alias declaration must be an identifier}}
8