(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
torture/
pr54563.C
// PR tree-optimization/54563
// { dg-do compile }

extern "C" float powf (float, float);
struct S { ~S (); };
double bar ();
double x;

void
foo ()
{
  S s;
  x = powf (bar (), 2.);
}