mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
6 lines
163 B
D
6 lines
163 B
D
// https://issues.dlang.org/show_bug.cgi?id=16685
|
|
|
|
struct Id { ushort value; }
|
|
enum Id x = Id(5);
|
|
struct S(ushort A) {}
|
|
alias CannotCreateFromValue = S!(x.value);
|