URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [loverload3.C] - Rev 149
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// PRMS Id: 2010
// Bug: g++ doesn't deal with overloads involving C-language fns properly.
extern "C" double pow (double, double);
inline double pow (double d, int e) { return pow (d, (double) e); }
void foo ()
{
pow (1.0, 1);
pow (1.0, 1.0);
}
Go to most recent revision | Compare with Previous | Blame | View Log