https://issues.dlang.org/show_bug.cgi?id=22579
--- Comment #3 from moonlightsenti...@disroot.org --- Nothing specific to unittests in this example. The underlying issue is that -betterC checks are currently issued by the glue layer and hence skipped for declarations that are not codegened (usually declarations outside of root modules - without -i). --