[REG2.065] Issue 13564 - nested struct destructor trying to access members of a global class fail to compile

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