d: Merge upstream dmd 568496d5b, druntime 178c44ff, phobos 574bf883b.
[official-gcc.git] / gcc / testsuite / gdc.test / compilable / debuginfo.d
blob320019515c5ece66a856b5a566f746636fdc6b1f
1 // REQUIRED_ARGS: -g
3 struct Bug7127a {
4 const(Bug7127a)* self;
7 struct Bug7127b {
8 void function(const(Bug7127b) self) foo;
11 void main() {
12 Bug7127a a;
13 Bug7127b b;
16 // https://issues.dlang.org/show_bug.cgi?id=13975
17 static immutable int a = 8;
18 enum Bar { aa = a }
20 void foo(Bar bar) {}