Debian Codegraph @

gcc/testsuite/gdc.test/compilable/test19652.d

raw
1 struct Base {
2 int i;
3 }
4
5 struct A {
6 Base base;
7 alias base this;
8 }
9
10 struct B {
11 A a;
12 alias a this;
13 }
14
15 auto asGeneric(inout ref Base block) @nogc {
16 return █
17 }
18
19 B* thingie;
20 auto foo() {
21 return asGeneric(*thingie);
22 }