https://issues.dlang.org/show_bug.cgi?id=20717
--- Comment #6 from Basile-z <b2.t...@gmx.com> --- Ok I've find what really happens. When you merge the two tests in a single module, so the one reported here and the one here https://github.com/dlang/dmd/pull/10078/files#diff-b33aefca6dc2d2014d789a2d8727fb1eR1, then this compiles because symbols are solved differently. --