OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial revision
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
loverload3.C
1
// PRMS Id: 2010
2
// Bug: g++ doesn't deal with overloads involving C-language fns properly.
3
// Build don't link:
4
5
extern "C" double pow (double, double);
6
inline double pow (double d, int e) { return pow (d, (double) e); }
7
8
void foo ()
9
{
10
pow (1.0, 1);
11
pow (1.0, 1.0);
12
}