[Issue 750] New: Recursive typeof in function declaration crashes DMD

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 26 06:13:21 PST 2006


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

           Summary: Recursive typeof in function declaration crashes DMD
           Product: D
           Version: 0.178
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: dvdfrdmn at users.sf.net


--------
void test(typeof(&test) p) { }
void main() { test(); }
--------

Note that the test case for issue 745, which does have the 'main', compiles
without errors.

Another issue(?):  If 'main' is removed, the mangled name of 'test' contains a
'@'.  Is this valid?


-- 



More information about the Digitalmars-d-bugs mailing list