blob: 193c717bd2cc188d80e3214353086241983e31a1 [file] [log] [blame]
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);
}