https://issues.dlang.org/show_bug.cgi?id=15869
--- Comment #13 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/0ba1f25c99bfd6e02b64b3b283540ed74e97fca5 fix Issue 15869 - RVO can overwrite argument https://github.com/dlang/dmd/commit/68eb9d341ccd0b7872ce719df07da268398dc3aa Merge pull request #8200 from WalterBright/fix15869 fix Issue 15869 - RVO can overwrite argument merged-on-behalf-of: Razvan Nitu <razva...@users.noreply.github.com> --