Reset branch to trunk.
[official-gcc.git] / trunk / gcc / testsuite / gcc.c-torture / execute / 20070614-1.c
blobfa44f7fa3ec524f8e24d97fdcc7fe49051256b27
1 extern void abort (void);
3 _Complex v = 3.0 + 1.0iF;
5 void
6 foo (_Complex z, int *x)
8 if (z != v)
9 abort ();
12 _Complex bar (_Complex z) __attribute__ ((pure));
13 _Complex
14 bar (_Complex z)
16 return v;
19 int
20 baz (void)
22 int a, i;
23 for (i = 0; i < 6; i++)
24 foo (bar (1.0iF * i), &a);
25 return 0;
28 int
29 main ()
31 baz ();
32 return 0;