2 // { dg-do compile { target c++11 } }
4 template<int M, int N> struct pair
7 pair () : i (M), j (N) {}
10 template<int... M> struct S
12 template<int... N> static int *foo ()
14 static int x[] = { (M + N)... }; // { dg-error "mismatched argument pack lengths" }
21 return S<0, 1, 2>::foo<0, 1> ();