1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail9572.d(10): Error: index type `ubyte` cannot cover index range 0..300
5 ---
6 */
7 
main()8 void main() {
9     int[300] data;
10     foreach (ubyte i, x; data) {}
11 }
12