blob: d517b60869434f8f6c99b4c743816fc3564a5c9a [file] [log] [blame]
// { dg-options "-std=c++11" }
struct foo {
foo(int a, float b);
};
struct bar : foo {
template<typename... Args>
bar(Args&&... args) : foo(2, args){} // { dg-error "parameter packs" }
};
bar b(2,1.);