mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
10 lines
164 B
D
10 lines
164 B
D
// https://issues.dlang.org/show_bug.cgi?id=23620
|
|
struct Index
|
|
{
|
|
uint value;
|
|
alias value this;
|
|
}
|
|
|
|
enum i = Index();
|
|
int[i] a;
|
|
static assert(a.length == 0);
|