PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1z / inh-ctor34.C
blobf47b2a4dc2fcc863eb1f708d087ffc38868de077
1 // { dg-do compile { target c++11 } }
2 // { dg-options -fnew-inheriting-ctors }
4 class A
6   A(int);
7   friend void f();
8 };
10 struct B: A
12   using A::A;
15 void f()
17   B b(42);