blob: e180e77c7ec5b0aeea63eb6c9a93d5c41322b925 [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/fail218.d(15): Error: cannot modify string literal ", "
---
*/
// Issue 1788 - dmd segfaults without info
void main()
{
string a = "abc";
double b = 7.5;
a ~= ", " ~= b;
}