dmd/compiler/test/compilable/test22997.d
2022-07-09 18:53:07 +02:00

14 lines
262 B
D

// 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) {}
}