| 1 |
// https://issues.dlang.org/show_bug.cgi?id=22198 |
| 2 |
// This test was in fail_compilation, however the change in the compiler has |
| 3 |
// been reverted to make this code compilable again. |
| 4 |
void main() |
| 5 |
{ |
| 6 |
int[10] a; |
| 7 |
auto b = a[1..12]; |
| 8 |
auto c = a[4..3]; |
| 9 |
auto d = a[0..$ + 1]; |
| 10 |
} |