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