https://issues.dlang.org/show_bug.cgi?id=22966
--- Comment #1 from kinke <[email protected]> --- Trying to work around this with an explicit dummy ctor does NOT work: ``` struct WithDtor { int x; ~this() {} } struct A { WithDtor withDtor; ~this() shared {} } struct B { version (Shared) shared A a; else A a; } void main() { pragma(msg, A.__xdtor.mangleof); } ``` ``` $ dmd -o- foo.d _D3mod1A10__aggrDtorMFZv $ dmd -o- foo.d -version=Shared _D3mod1A10__aggrDtorMOFZv ``` --
