// { dg-do compile { target c++11 } } // alias template of a partial specialization template struct S0 {}; template struct S0 {}; template using AS0 = S0; void foo(S0); AS0 a; // OK void f() { foo(a); //OK } // alias template of an explicit specialization of a member template template struct S1 { template struct M {}; }; template using AM = S1::M; void bar(S1::M); AM b; //OK. void g() { bar(b); //OK }