Debian Codegraph @

tests/dmd/runnable/imports/bug10425.d

raw
1 module imports.bug10425;
2
3 struct A()
4 {
5 int opCmp(const ref A p) const
6 {
7 return 0;
8 }
9
10 string toString()
11 {
12 return "";
13 }
14 }
15
16 struct B()
17 {
18 void foo()
19 {
20 auto a = new A!();
21 }
22 }
23
24 struct C
25 {
26 alias A!() a_t;
27
28 this(B!() b)
29 {
30
31 }
32 }