PR tree-optimization/81384 - built-in form of strnlen missing
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 990127-2.c
blob939000ea94e23c84605c5a45442bfd6b39d5c331
1 /* { dg-options "-mpc64" { target { i?86-*-* x86_64-*-* } } } */
3 extern void abort (void);
4 extern void exit (int);
6 void
7 fpEq (double x, double y)
9 if (x != y)
10 abort ();
13 void
14 fpTest (double x, double y)
16 double result1 = (35.7 * 100.0) / 45.0;
17 double result2 = (x * 100.0) / y;
18 fpEq (result1, result2);
21 int
22 main ()
24 fpTest (35.7, 45.0);
25 exit (0);