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: nob...@puremagic.com
        ReportedBy: ibuc...@ubuntu.com


--- Comment #0 from Iain Buclaw <ibuc...@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: -------

Reply via email to