Created attachment 1123
repro case
When a temporary struct is used as the second argument to assert, and the
assert is false, the temporary struct gets destructed despite the fact that it
was never actually constructed. See attached repro case.
Tested with dmd 2.058 and dmd.2059
Comment #1 by bearophile_hugs — 2012-07-08T07:03:05Z