blob: 272f4022d15e02f396f4b09ffb9ab6d7433bb437 [file] [log] [blame]
// { dg-do compile { target c++11 } }
template<typename> struct A;
template<typename T, typename... U> struct A<T(U)> // { dg-error "parameter packs|U" }
{
template<typename X> A(X);
};
A<void(int)> a(0); // { dg-error "incomplete type" }