2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / lto / 20091004-3_1.C
blobf46b8fc6c11120351dcb21b235fcfb2f75266471
1 extern "C" double sqrt (double __x) throw ();
2 typedef double VECTOR[3];
3 enum { X = 0,  Y = 1,  Z = 2,  T = 3 };
4 inline void VLength(double& a, const VECTOR b)
6   a = sqrt(b[X] * b[X] + b[Y] * b[Y] + b[Z] * b[Z]);
8 int
9 All_Torus_Intersections(void)
11   double len;
12   VECTOR D;
13   VLength(len, D);
14   VLength(len, D);
15   return 0;