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 main()11void 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 foo(Bar bar)20void foo(Bar bar) {} 21