[Issue 628] New: Assertion failure: '0' on line 91 in file 'init.c'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Dec 2 11:55:40 PST 2006


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

           Summary: Assertion failure: '0' on line 91 in file 'init.c'
           Product: D
           Version: 0.175
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: deewiant at gmail.com


Nothing disallows this, as far as I can tell, so I marked this as
ice-on-valid-code:

void main() {
        // any type is fine, 'int' used for its brevity
        int x = void;
        x = x.init;
}

Of course, it's debatable whether this is useful.


-- 




More information about the Digitalmars-d-bugs mailing list