Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
inh-ctor34.C
blob: f47b2a4dc2fcc863eb1f708d087ffc38868de077 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
// { dg-options -fnew-inheriting-ctors }
class
A
{
A
(
int
);
friend
void
f
();
};
struct
B
:
A
{
using
A
::
A
;
};
void
f
()
{
B b
(
42
);
}