summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/local4.C
blob: b5514a54b46de6203d1425be916d13bfeae59a89 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do run  }
// Test that a local declaration of one of a global overload set works

int f () { return 0; }
int f (int);

int main ()
{
  int f ();
  return f ();
}