summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/variadic44.C
blob: 8452a96cc21ad3e80cc85ae7cd6069b9140986fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-options "-std=gnu++0x" }
// { dg-do compile }
template<typename... Args>
int f(const Args&...);

template<typename T> void g(T) { }

void h()
{
  g(&f<int, float>);
}

// { dg-final { scan-assembler "_Z1gIPFiRKiRKfEEvT_"} }