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

           Summary: Segfault using invalid tuple property in a declaration
           Product: D
           Version: 1.038
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzi...@digitalmars.com
        ReportedBy: clugd...@yahoo.com.au


-----
int foo(T...)(char [T.sizeof] x)
{
    return 0;
}
int c = foo!(int, int)("yy");
-----
It also segfaults if the declaration is in a function, so it's not a CTFE
issue.
It segfaults if any invalid property is used.
----
int foo(T...)(char [T.z] x) {  return 0; }
void main() { int c = foo!(int, int)("yy"); }


-- 

Reply via email to