Debian Codegraph @

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

raw
1 // REQUIRED_ARGS: -g
2
3 struct Bug7127a {
4 const(Bug7127a)* self;
5 }
6
7 struct Bug7127b {
8 void function(const(Bug7127b) self) foo;
9 }
10
11 void main() {
12 Bug7127a a;
13 Bug7127b b;
14 }
15
16 // https://issues.dlang.org/show_bug.cgi?id=13975
17 static immutable int a = 8;
18 enum Bar { aa = a }
19
20 void foo(Bar bar) {}