Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/lookup/builtin6.C @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
// 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); }