mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
11 lines
188 B
D
11 lines
188 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail9572.d(10): Error: index type `ubyte` cannot cover index range 0..300
|
|
---
|
|
*/
|
|
|
|
void main() {
|
|
int[300] data;
|
|
foreach (ubyte i, x; data) {}
|
|
}
|