mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
16 lines
261 B
D
16 lines
261 B
D
/*
|
|
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;
|
|
}
|