Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/variadic42.C

raw
1 // { dg-options "-fabi-version=5" }
2 // { dg-do compile { target c++11 } }
3 template<typename... Args>
4 void f(Args...) { }
5
6 void g()
7 {
8 f<int*, float*, double*>(0, 0, 0);
9 f<int*>(0,0,0);
10 }
11 // { dg-final { scan-assembler "_Z1fIIPiPfPdEEvDpT_" } }
12 // { dg-final { scan-assembler "_Z1fIIPiiiEEvDpT_" } }