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

5 lines
144 B
D

// https://issues.dlang.org/show_bug.cgi?id=19464
typeof(a0) b0 = 3;
immutable int a0 = 4;
static assert(is(typeof(b0) == immutable(int)));