blob: 3ae50c9ae1c245cc8b59fe8f4040d7fec77b1101 [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/diag13215.d(11): Error: cannot implicitly convert expression `[1, 2, 3]` of type `int[]` to `immutable(uint[2])[]`
---
*/
enum uint N = 10;
immutable uint[2][3] arr2;
shared static this() {
arr2 = [1, 2, 3];
}