1 // 3290 2 main()3 void main() 4 { 5 const(int)[] array; 6 foreach (ref int i; array) { 7 //i = 42; 8 } 9 } 10