Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test22997.d
blob: 3cad527b4c2ed9441d23c604e1cc6def96a452fd [
file
] [
log
] [
blame
]
// https://issues.dlang.org/show_bug.cgi?id=22997
struct
Forward
{}
struct
Foo
{
this
(
ref
typeof
(
this
)
rhs
)
{
this
(
rhs
,
Forward
.
init
);
}
this
(
ref
typeof
(
this
)
rhs
,
Forward
)
{}
this
(
typeof
(
this
)
rhs
,
int
i
,
double
d
,
string
s
)
{}
}