[Issue 6308] Destruction of temporaries on exception causes segfault
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jul 25 23:26:24 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6308
--- Comment #5 from Vladimir Panteleev <thecybershadow at gmail.com> 2011-07-25 23:26:22 PDT ---
(In reply to comment #4)
> I'll try to minimize it.
Reduced it to a small variation of the above.
struct C
{
void oops()
{
throw new Exception("Oops!");
}
~this()
{
}
}
void main()
{
C().oops();
}
I think DustMite may have taken some shortcuts while reducing Andrej's test
case, though - but this test case definitely does show that it's not about
throwing in a constructor.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list