blob: 456ade7da1f087ec2eba3ab073800bdb51455f33 [file] [log] [blame]
// PR c++/69657
// { dg-options -fdump-tree-gimple }
// { dg-final { scan-tree-dump "ABS_EXPR" "gimple" } }
namespace foo
{
inline double
abs(double x)
{ return __builtin_fabs(x); }
}
using foo::abs;
extern "C" int abs(int);
namespace bar {
using ::abs;
}
int
wrapper (int x)
{
return bar::abs (x) + bar::abs(x);
}