D-Programming-Language/dmd — pull request #2677 by 9rnsr (2013-10-17 08:43:17+00:00)
Title: Issue 11286 - Impure dtor makes "cannot call impure function" error, although it won't actually be called.

http://d.puremagic.com/issues/show_bug.cgi?id=11286