(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
opt/
pr60849.C
// { dg-do compile }
// { dg-options "-O2" }

int g;

extern "C" int isnan ();

void foo(float a) {
  int (*xx)(...);
  xx = isnan;
  if (xx(a))
    g++;
}