tree-optimization/115597 - allow CSE of two-operator VEC_PERM nodes
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / ice10419.d
blobfed8c60856981c14d1191ae2bcefb5a8211eef3e
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/ice10419.d(12): Error: cannot modify expression `arr().length` because it is not an lvalue
5 ---
6 */
8 int[] arr() { return []; }
10 void main()
12 arr().length = 1;