MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / ice10419.d
blob827f0451824e2e75b4c5d761d68359cf8abb3b0b
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/ice10419.d(12): Error: `arr().length` is not an lvalue and cannot be modified
5 ---
6 */
8 int[] arr() { return []; }
10 void main()
12 arr().length = 1;