PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1z / inh-ctor32.C
blob7ce85b0af2edcbfa384d2251aeabe94b60791c66
1 // { dg-do compile { target c++11 } }
3 struct B;
4 struct A
6   A(const B&, int = 0);
7 };
9 struct B: A
11   using A::A;
12   B(B&);
15 extern const B b;
16 B b2{b};                        // { dg-error "" }