MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail106.d
blobba9f7dd69cde14e6a497d9c824c3f0721e86e9e2
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail106.d(12): Error: cannot modify `immutable` expression `"ABC"[2]`
5 ---
6 */
8 // https://issues.dlang.org/show_bug.cgi?id=239
9 // Internal error: changing string literal elements
10 void main()
12 "ABC"[2] = 's';