https://issues.dlang.org/show_bug.cgi?id=19893
--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> --- @Geod24 created dlang/dmd pull request #9912 "Fix issue 19893 - extern(C++ 'ns') should count as module scope" fixing this issue: - Fix issue 19893 - extern(C++ 'ns') should count as module scope The bug was fixed in the last commit, this just adds the test. https://github.com/dlang/dmd/pull/9912 --