Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
inh-ctor28.C
blob: 55e1d8c943f976f60eca8fe95e00468dff452ae5 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
// { dg-options -fnew-inheriting-ctors }
struct
V
{
V
(
int
);
};
struct
W
:
virtual
V
{
using
V
::
V
;
};
struct
X
:
virtual
W
,
virtual
V
{
using
W
::
W
;
};
X x
(
0
);