https://issues.dlang.org/show_bug.cgi?id=22966

--- Comment #2 from kinke <[email protected]> ---
One more WTF:

```
struct WithDtor {
    int x;
    ~this() {}
}

struct A {
    WithDtor withDtor;
}

pragma(msg, A.__xdtor.mangleof);

struct B {
    shared A a;
}

void main() {
    pragma(msg, A.__xdtor.mangleof);
}
```

```
_D3mod1A11__fieldDtorMFZv
_D3mod1A11__fieldDtorMOFZv
```

--

Reply via email to