summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/overload/template1.C
blob: 5bfad8464f7de340d56be7a490221ae18dd684e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
template<typename T> T Foo (int) {T d;}

void Baz (void (*)(int), int);

int Foo ();
int Baz (int (*)(), float);

void Bar ()
{
  Baz (Foo, 1.0f);
  
}