[Issue 9843] DMD segfaults after error message

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 30 20:05:40 PDT 2013


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


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #1 from bearophile_hugs at eml.cc 2013-03-30 20:05:38 PDT ---
A little reduced, but I don't know if the bug is the same:


import std.stdio: writeln;
struct Foo {
    int[] items;
}
union Bar {
    int nul;
    Foo test;
}
struct Spam {
    Bar b = {nul : 0};
}
void main() {
    immutable Spam s;
    writeln(s);
}

-- 
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