https://issues.dlang.org/show_bug.cgi?id=13147
--- Comment #5 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/940e48c1c2481f450fea9eb90a988e435ded84d0 fix Issue 13147 - Wrong codegen for thisptr in naked extern (C++) methods https://github.com/dlang/dmd/commit/b5a59760d06ad1e1b4af9bf41a268650992463ff Add struct test for bug 13147 fix and inline assembly check. https://github.com/dlang/dmd/commit/a0840035a8d92901b7f94961b2be5812bc9c9bfa Merge pull request #5729 from WalterWaldron/fix13147 Fix Issue 13147 - invariant code added to functions with naked inline assembly --