summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/variadic66.C
blob: bf86deee8fddbe51304cf66bbf7584ad4c3e4816 (plain)
1
2
3
4
5
6
7
8
9
// { dg-do compile { target c++11 } }

template<typename Result, typename Functor, typename... ArgTypes>
Result bind(Functor, ArgTypes...) { return Result(); }

void f()
{
  bind<int>(17, 20, 22);
}