2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / torture / pr51600.C
blob6180360776273a4f4169f90b390852e32f524d7b
1 template<class T> inline T min(T a, T b) { return a < b ? a : b; }
2 double cornerbound(double *P, double (*m)(double, double))
4   double b=m(P[0],P[3]);
5   return m(b,P[12]);
7 void bound(double *P, double (*m)(double, double), double b)
9   m(b,cornerbound(P,m));
11 void bounds(double fuzz, unsigned maxdepth)
13   double Px[]={};
14   double bx=Px[0];
15   bound(Px,min,bx);