mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
10 lines
282 B
D
10 lines
282 B
D
// https://issues.dlang.org/show_bug.cgi?id=22198
|
|
// This test was in fail_compilation, however the change in the compiler has
|
|
// been reverted to make this code compilable again.
|
|
void main()
|
|
{
|
|
int[10] a;
|
|
auto b = a[1..12];
|
|
auto c = a[4..3];
|
|
auto d = a[0..$ + 1];
|
|
}
|