PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / inh-ctor29.C
blob8e31f739d745867d163f37f97f95485dd7395486
1 // PR c++/67054
2 // { dg-do compile { target c++11 } }
4 struct A
6   A(int) {}
7 };
9 struct C
11   C(int) {}
14 struct B : A
16   using A::A;
17   C c = 42;
20 int main()
22   B b = 24;