1 // Testcase from cxx-abi-dev.
2 // { dg-do compile { target c++11 } }
3 // { dg-options -fabi-version=9 }
4 // { dg-final { scan-assembler "_ZN1A1fIJiiEiJiiiEEEvRAstDpT1__iT0_S2_" } }
7 template<typename...T> using N = int[sizeof...(T)];
8 template<typename...A, typename B, typename...C>
9 void f(N<A..., B, C...> &, B, C...);
11 void g(A a) { int arr[6]; a.f<int, int>(arr, 1, 2, 3, 4); }