summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/variadic43.C
blob: fce81ae0dd1a46e9b28410a5a583d0e9d61a145e (plain)
1
2
3
4
5
6
7
8
// { dg-options "-std=gnu++0x" }
template<typename... Args>
int f(const Args&...);

void g()
{
  int (*fp)(const int&, const float&) = &f;
}