c++: prvalue of array type [PR111286]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / inh-ctor11a.C
blob61b251eb0ba1531a4fa1ba6b47e78b6d0a1283d5
1 // { dg-do compile { target c++11 } }
2 // { dg-options -fnew-inheriting-ctors }
4 struct A
6   A(int, ...);
7 };
9 struct B: A
11   using A::A;
14 B b1(42);
15 B b2(42, 1.0);                  // { dg-bogus "ellipsis" "" { xfail *-*-* } }