aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/overload15.C
blob: 779de722c41a5d61c9eff323ef8b7732b052cf8b (plain)
1
2
3
4
5
6
7
8
9
10
// Bug: g++ thinks that int->long is a promotion.
// Build don't link:

long f (long, long);
double f (double, double);

void g (double d)
{
  f (d, 0);
}