Debian Codegraph @

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

raw
1 class C15464
2 {
3 static immutable field = 0;
4 }
5
6 struct S15464
7 {
8 this(int i)
9 {
10 }
11 }
12
13 void issue15464(T)() @S15464(T.field)
14 {
15 }
16
17 void main()
18 {
19 issue15464!C15464();
20 }