mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
7 lines
207 B
D
7 lines
207 B
D
// https://issues.dlang.org/show_bug.cgi?id=21898
|
|
|
|
alias Works(T) = immutable(T);
|
|
alias Fails(T) = immutable T;
|
|
|
|
static assert(is(Works!int == immutable int));
|
|
static assert(is(Fails!int == immutable int));
|