summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/overload15.C
blob: fdd692b09eb3a3eac4fb4aaf4adf6287e21dba60 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }
// Bug: g++ thinks that int->long is a promotion.

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

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