[Issue 529] New: segfault when passing .tupleof to variadic template

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 16 06:05:41 PST 2006


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

           Summary: segfault when passing .tupleof to variadic template
           Product: D
           Version: 0.174
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: clugdbug at yahoo.com.au


struct S { int x; long y; }

template T(Q...)
{
    const int T = 1;
}

void main()
{
   const int a = T!((S.tupleof));
}


-- 




More information about the Digitalmars-d-bugs mailing list