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