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

           Summary: [ICE] __traits(isStaticArray) on empty static array
           Product: D
           Version: future
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: bearophile_h...@eml.cc


--- Comment #0 from bearophile_h...@eml.cc 2010-04-21 13:45:12 PDT ---
This is D2 code:


void foo(T)(T) {
    bool b = __traits(isStaticArray, T);
}
void main() {
    int[0] arr;
    foo(arr);
}


dmd 2.043 gives at runtime:
Internal error: ..\ztc\cod2.c 4333

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to