// Origin: PR c++/46394 // { dg-do compile { target c++11 } } template struct S0 { typedef T type; }; template struct S1 { typedef int I; }; struct A { template::type...>::I> A(U...u); }; int main() { A a(1, 2); }