1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail218.d(15): Error: cannot modify string literal ", "
5 ---
6 */
7 
8 // Issue 1788 - dmd segfaults without info
9 
main()10 void main()
11 {
12     string a = "abc";
13     double b = 7.5;
14 
15     a ~= ", " ~= b;
16 }
17