summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/overload/builtin3.C
blob: dcd9fd02e386baf65b4b828f8828d162e1f938c3 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/11409
// { dg-do compile }

namespace std {
  double fabs (double);
}
using std::fabs;

double (*p) (double) = &fabs;  // { dg-bogus "is ambiguous" "" }