2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / unsorted / PYRBUG.c
blobc64c3f5e1b224616758b9ec2d766b6c31a3ce3ce
1 typedef struct
3 int v;
4 int h;
5 } Point;
7 typedef struct
9 int top, left, bottom, right;
10 } Rect;
12 int
13 x_PtInRect (Point pt, Rect *r)
15 return pt.v >= r->top && pt.v < r->bottom
16 && pt.h >= r->left && pt.h < r->right;