blob: a46861133067cd606be2a0994895624854d6de5e [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/fail218.d(15): Error: cannot modify string literal `", "`
---
*/
// https://issues.dlang.org/show_bug.cgi?id=1788
// dmd segfaults without info
void main()
{
string a = "abc";
double b = 7.5;
a ~= ", " ~= b;
}