aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.7/gcc/testsuite/g++.dg/torture/pr54563.C
blob: 2980320f66369ed868b5766702abdf0e1ae455c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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.);
}