blob: 75b42349916d9c90bccb9b652850c7348ab9b979 [file] [log] [blame]
/*
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) {}
}