(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
ext/
pr84843-1.C
// PR c++/84843
// { dg-do compile }
// { dg-options "-fpermissive" }

extern "C" int
__atomic_compare_exchange (int x, int y)	// { dg-error "ambiguates built-in declaration" }
{
  return x + y;
}