dmd/compiler/test/compilable/debuginfo.d
2022-07-09 18:53:07 +02:00

20 lines
305 B
D

// REQUIRED_ARGS: -g
struct Bug7127a {
const(Bug7127a)* self;
}
struct Bug7127b {
void function(const(Bug7127b) self) foo;
}
void main() {
Bug7127a a;
Bug7127b b;
}
// https://issues.dlang.org/show_bug.cgi?id=13975
static immutable int a = 8;
enum Bar { aa = a }
void foo(Bar bar) {}