modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.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 }