summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/variadic42.C
blob: 47d9b66da58bfc21b466d90d3695a6622ea8eaf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-options "-std=gnu++0x" }
// { dg-do compile }
template<typename... Args>
void f(Args...) { }

void g()
{
  f<int*, float*, double*>(0, 0, 0);
  f<int*>(0,0,0);
}
// { dg-final { scan-assembler "_Z1fIIPiPfPdEEvDpT_" } }
// { dg-final { scan-assembler "_Z1fIIPiiiEEvDpT_" } }