// Various tests for variadic templates and partial specialization. // { dg-do compile { target c++11 } } // PR c++/36846 template struct pair; template struct pairs; template struct pairs...> { struct mismatched_packs {}; }; template class pairs< pair, pair >; template struct point; template struct points; template struct points...> { struct mismatched_packs {}; }; template class points< point<0, 1>, point<0, 1> >; // PR c++/35477 template struct tuple {}; template struct test {}; template struct test> { template struct inside {}; }; // PR c++/38276 template struct A; template struct B; template struct B, A > { static int i; }; B, A > b1; B, A<> > b2; // PR c++/35784 template struct p; template struct d; template struct d, p > { typedef int t; }; typedef d, p >::t q; typedef d, p >::t> r; // * typedef d, p >::t, d, p<> >::t> s;