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

7 lines
153 B
D

// https://issues.dlang.org/show_bug.cgi?id=3775
struct Bug3775 {
static int byLine()() { return 1; }
}
static assert(cast(int)Bug3775.byLine == 1);