1 // https://issues.dlang.org/show_bug.cgi?id=12504
6 foreach (ubyte i; 0 .. sta.length) {}
7 foreach (ubyte i, x; sta) {}
11 foreach (byte i; 0 .. sta.length) {}
12 foreach (byte i, x; sta) {}
16 foreach (ushort i; 0 .. sta.length) {}
17 foreach (ushort i, x; sta) {}
21 foreach (short i; 0 .. sta.length) {}
22 foreach (short i, x; sta) {}
25 immutable int[0xFF + 1] sta;
26 static foreach (ubyte i; 0 .. sta.length) {}
27 static foreach (ubyte i, x; sta) {}
30 immutable int[0x7F + 1] sta;
31 static foreach (byte i; 0 .. sta.length) {}
32 static foreach (byte i, x; sta) {}
35 immutable int[0xFFFF + 1] sta;
36 static foreach (ushort i; 0 .. sta.length) {}
37 static foreach (ushort i, x; sta) {}
40 immutable int[0x7FFF + 1] sta;
41 static foreach (short i; 0 .. sta.length) {}
42 static foreach (short i, x; sta) {}