aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/test13953.d
blob: cde7d91c26f5d7dc2ef85fba5b0115670f441ce0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// https://issues.dlang.org/show_bug.cgi?id=13953

struct S
{
    string[string] aa;
    alias aa this;
}

void main()
{
    S s;
    s["foo"] = "bar";
    s.remove("foo");
}