1 // REQUIRED_ARGS: -o- 2 /* 3 TEST_OUTPUT: 4 --- 5 fail_compilation/fail8179b.d(10): Error: cannot cast expression `[1, 2]` of type `int[]` to `int[2][1]` 6 --- 7 */ foo(int[2][1])8 void foo(int[2][1]) {} main()9 void main() { 10 foo(cast(int[2][1])[1, 2]); 11 } 12 13