(root)/
gcc-13.2.0/
gcc/
testsuite/
gdc.test/
compilable/
test19652.d
struct Base {
    int i;
}

struct A {
    Base base;
    alias base this;
}

struct B {
    A a;
    alias a this;
}

auto asGeneric(inout ref Base block) @nogc {
    return █
}

B* thingie;
auto foo() {
    return asGeneric(*thingie);
}