2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / loverload3.C
blob7a765a6d9f333a10a2249bf31768eefbd1182dd9
1 // { dg-do assemble  }
2 // PRMS Id: 2010
3 // Bug: g++ doesn't deal with overloads involving C-language fns properly.
5 extern "C" double pow (double, double);
6 inline double pow (double d, int e) { return pow (d, (double) e); }
8 void foo () 
10   pow (1.0, 1);
11   pow (1.0, 1.0);