summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other/error22.C
blob: 225dcae8214d9527238b2ad7922e538d03b48b46 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/34394
// { dg-do compile }

extern "C" double fabs (double);

void foo (double x)
{
  fabs (x) ();	// { dg-error "__builtin_abs" }
}