Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/local4.C

raw
1 // { dg-do run }
2 // Test that a local declaration of one of a global overload set works
3
4 int f () { return 0; }
5 int f (int);
6
7 int main ()
8 {
9 int f (); // { dg-warning "empty parentheses" }
10 return f ();
11 }