blob: 42153252b89d4242253f6c8f2eefbc256bfe7873 [file] [log] [blame]
// PR c++/59816
// { dg-do compile { target c++11 } }
class Base {
protected:
template<class... TArgs>
Base(TArgs...) {}
};
class Class
: public Base {
public:
template<class... TArgs>
Class(TArgs... args) : Base { args... } {}
};
void test() {
Class{};
}