(root)/
gcc-13.2.0/
gcc/
testsuite/
gdc.test/
compilable/
test22593.d
// https://issues.dlang.org/show_bug.cgi?id=22593

struct Foo(T){
    this(Rhs, this This)(scope Rhs rhs){
    }

    this(ref scope typeof(this) rhs){
    }
}

struct Bar{
    Foo!int foo;
}