repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* fi.po: Update.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
builtin6.C
blob
456ade7da1f087ec2eba3ab073800bdb51455f33
1
// PR c++/69657
2
// { dg-options -fdump-tree-gimple }
3
// { dg-final { scan-tree-dump "ABS_EXPR" "gimple" } }
4
5
namespace foo
6
{
7
inline double
8
abs(double x)
9
{ return __builtin_fabs(x); }
10
}
11
using foo::abs;
12
13
extern "C" int abs(int);
14
15
namespace bar {
16
using ::abs;
17
}
18
19
int
20
wrapper (int x)
21
{
22
return bar::abs (x) + bar::abs(x);
23
}