[Issue 5182] New: ICE(expression.c): calling unittest from a function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 6 13:53:03 PDT 2010


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

           Summary: ICE(expression.c): calling unittest from a function
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: ibuclaw at ubuntu.com


--- Comment #0 from Iain Buclaw <ibuclaw at ubuntu.com> 2010-11-06 13:52:04 PDT ---
Simplest testcase:

unittest{}
void main() {
    __unittest1();
}


I'm honestly not sure if this is supposed to be legal code. But DMD 2.046
accepts and runs it without problems.

Regards

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