[Issue 3432] New: ICE(e2ir.c): declaring local template function and casting it

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 21 07:13:50 PDT 2009


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

           Summary: ICE(e2ir.c): declaring local template function and
                    casting it
           Product: D
           Version: 2.036
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: clugdbug at yahoo.com.au


--- Comment #0 from Don <clugdbug at yahoo.com.au> 2009-10-21 07:13:49 PDT ---
void main() {
    void fun(T)() {}
    int x = cast(int)fun;
}
----

fun(T)
Internal error: e2ir.c 644

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