mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
6 lines
141 B
D
6 lines
141 B
D
static assert(!__traits(compiles, ()
|
|
{
|
|
char[24] x;
|
|
int myNumber = 4;
|
|
return cast(char[4]) (x[myNumber .. myNumber + 4]);
|
|
} ()));
|