| 1 |
// https://bugzilla.gdcproject.org/show_bug.cgi?id=131 |
| 2 |
// { dg-do run } |
| 3 |
// { dg-skip-if "needs gcc/config.d" { ! d_runtime } } |
| 4 |
|
| 5 |
struct S131 |
| 6 |
{ |
| 7 |
this(string ) { } |
| 8 |
string opAssign(string v) { return v; } |
| 9 |
} |
| 10 |
|
| 11 |
void main() |
| 12 |
{ |
| 13 |
S131[string] s; |
| 14 |
s["foo"] = "bar"; |
| 15 |
} |