]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/inh-ctor24.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / inh-ctor24.C
1 // PR c++/78767
2 // { dg-do compile { target c++11 } }
3
4 template <class T> struct A
5 {
6 template <class U>
7 A(U, U = 42);
8 };
9
10 struct B: A<int>
11 {
12 using A::A;
13 };
14
15 B b(24);
This page took 0.037644 seconds and 5 git commands to generate.