PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / complex-5.c
bloba3338082c46f6340448876cb6e2f8aacdddcd2a0
1 float __complex__
2 p (float __complex__ a, float __complex__ b)
4 return a + b;
7 float __complex__ x = 1.0 + 14.0 * (1.0fi);
8 float __complex__ y = 7.0 + 5.0 * (1.0fi);
9 float __complex__ w = 8.0 + 19.0 * (1.0fi);
10 float __complex__ z;
12 main ()
15 z = p (x,y);
16 y = p (x, 1.0f / z);
17 if (z != w)
18 abort ();
19 exit (0);