2 // { dg-do run { target c++11 } }
4 extern "C" void abort ();
6 template<typename... T> inline int foo (const T...) { return 1; }
7 template<typename... T> inline int foo (const T *...) { return 2; }
15 a[3] = foo<int> (2, 3, 4, 5);
16 a[4] = foo<int> (a, a + 1, a + 2);
24 if (a[0] != 1 || a[1] != 1 || a[2] != 2 || a[3] != 1 || a[4] != 2)