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

           Summary: [ICE] invalid expression on template argument crashes
                    dmd
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: k.hara...@gmail.com


--- Comment #0 from Kenji Hara <k.hara...@gmail.com> 2012-04-14 04:15:15 PDT ---
Following invalid code crashes dmd.

template Id(E)
{
    alias E Id;
}
template Id(alias E)
{
    alias E Id;
}

void main()
{
    //static assert(!__traits(compiles, { alias Id!([string.min]) X; }));
    alias Id!([string.min]) X;
}

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

Reply via email to