blob: f239ef717dee763674f19dce4a207df5dbad9663 [file] [log] [blame]
// Testcase from cxx-abi-dev.
// { dg-do compile { target c++11 } }
// { dg-final { scan-assembler "_ZN1A1fIJiiEiJiiiEEEvRAsPDpT_T0_DpT1_E_iS3_S5_" } }
struct A {
template<typename...T> using N = int[sizeof...(T)];
template<typename...A, typename B, typename...C>
void f(N<A..., B, C...> &, B, C...);
};
void g(A a) { int arr[6]; a.f<int, int>(arr, 1, 2, 3, 4); }