2 // { dg-do compile { target c++11 } }
4 template<int> struct A1;
6 template<> struct A1<0>
8 template<typename, typename...> struct B1
10 template<typename> int foo1() { return 0; }
16 template<int> struct A2;
18 template<> struct A2<0>
20 template<typename, typename> struct B2
22 template<typename> int foo2() { return 1; }
28 template<int> struct A3;
30 template<> struct A3<0>
32 template<typename> struct B3
34 template<typename> int foo3() { return 2; }