]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/pr59816.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr59816.C
CommitLineData
a533f697
PC
1// PR c++/59816
2// { dg-do compile { target c++11 } }
3
4class Base {
5protected:
6 template<class... TArgs>
7 Base(TArgs...) {}
8};
9
10class Class
11 : public Base {
12public:
13 template<class... TArgs>
14 Class(TArgs... args) : Base { args... } {}
15};
16
17void test() {
18 Class{};
19}
This page took 3.846536 seconds and 5 git commands to generate.