Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
inh-ctor31.C
blob: 3ce080d115b01ff72e46888db6b1f3ef3aca0f93 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
struct
B
;
struct
A
{
A
(
const
B
&,
int
=
0
);
};
struct
B
:
A
{
using
A
::
A
;
};
extern
B b
;
B b2
{
b
};