3 // { dg-options "-std=gnu++0x" }
5 template<int M, int N> struct pair
8 pair () : i (M), j (N) {}
11 template<int... M> struct S
13 template<int... N> static int *foo ()
15 static int x[] = { (M + N)... }; // { dg-error "mismatched argument pack lengths" }
22 return S<0, 1, 2>::foo<0, 1> ();