[REG2.066] Issue 13394 - invariant fail to link since 2.066 when using separate compilation

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