* Mainline merge as of 2006-02-16 (@111136).
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 930222-1.c
blobc6d6aa3b47d33aa0c7bac585d4fcc37f49f4a7ab
1 typedef struct
3 long i;
4 double f;
5 } T;
7 f (T *n1, T *n2)
9 if (g (n2))
10 return n1->i - n2->i;
11 else
13 double f = n1->f - n2->i;
14 return f == 0.0 ? 0 : (f > 0.0 ? 1 : -1);