blob: bfb11e42d8f694a529949935f0b87e677de0e662 [file] [log] [blame]
// { dg-do compile { target c++11 } }
template<void (*... fp)()> struct A
{
A() { fp(); } // { dg-error "11:parameter packs not expanded|fp" }
};
void foo();
A<foo> a;