c++: prvalue of array type [PR111286]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic-mangle5.C
blobe22a33dad6175b60f5a685a90145b9bc05e1f4c6
1 // { dg-do compile { target c++11 } }
2 // { dg-additional-options "-fabi-version=0 -fabi-compat-version=0" }
4 template<int...T> using N = int[sizeof...(T)];
5 template<int...A> void f(N<(A+1)...> &);
7 void g()
9   int arr[3];
11   // { dg-final { scan-assembler "_Z1fIJLi1ELi2ELi3EEEvRAsPXspplT_Li1EEE_i" } }
12   f<1,2,3>(arr);