aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/rfg5.C
blob: 700fae36294920de640825229962312cc2c27ea5 (plain)
1
2
3
4
5
6
7
8
9
10
// Bug: func is treated as an overloaded function when it isn't.
// Build don't link:

int *func () { return 0; }

void
test ()
{
  *func;			// gets bogus error - improper overloading
}