2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20000605-2.c
blob8a49bc6daee3976ccc69e8a15ff89459b6719ab0
1 struct F { int i; };
3 void f1(struct F *x, struct F *y)
5 int timeout = 0;
6 for (; ((const struct F*)x)->i < y->i ; x->i++)
7 if (++timeout > 5)
8 abort ();
11 main()
13 struct F x, y;
14 x.i = 0;
15 y.i = 1;
16 f1 (&x, &y);
17 exit (0);