// Origin PR c++/51289 // { dg-do compile { target c++11 } } template class b> struct foo { template using type = b; template b funca() {} template type funcb() {} }; // This is an additional test, to emit an error message when using // unexpanded parameter packs in an alias declaration. template struct S {}; template using A = S; // { dg-error "parameter packs not expanded" }