D-Programming-Language/dmd — pull request #3184 by 9rnsr (2014-02-01 16:41:02+00:00)
Title: Issue 12045 - Destructor call omitted for NRVO'd struct in exceptional case

https://d.puremagic.com/issues/show_bug.cgi?id=12045

Run destructor of NRVO var iff an exception is thrown.