modernc.org/cc@v1.0.1/testdata/gcc-6.3.0/gcc/testsuite/gcc.c-torture/compile/20040317-2.c (about) 1 typedef struct _ScaleRec *ScaleWidget; 2 typedef struct 3 { 4 short *x; 5 unsigned short *width; 6 } Table; 7 typedef struct 8 { 9 Table table; 10 } ScalePart; 11 typedef struct _ScaleRec 12 { 13 ScalePart scale; 14 } ScaleRec; 15 static int 16 FindPixel (ScaleWidget sw, short x, short y, 17 short * img_x, short * img_y, unsigned long * img_pixel) 18 { 19 if (sw->scale.table.x[(int) *img_x] + 20 (short) sw->scale.table.width[(int) *img_x] < x) 21 { 22 ++*img_x; 23 return FindPixel (sw, x, y, img_x, img_y, img_pixel); 24 } 25 }