MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail218.d
bloba46861133067cd606be2a0994895624854d6de5e
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail218.d(15): Error: cannot modify string literal `", "`
5 ---
6 */
8 // https://issues.dlang.org/show_bug.cgi?id=1788
9 // dmd segfaults without info
10 void main()
12 string a = "abc";
13 double b = 7.5;
15 a ~= ", " ~= b;