view gcc/testsuite/gdc.test/compilable/debuginfo.d @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 1830386684a0
children
line wrap: on
line source

// 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) {}