modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr40797.c (about) 1 typedef struct str { short x, y;} S; 2 3 static short 4 bar (short ch, short sl, short sr, short tl, short tr) 5 { 6 return 0; 7 } 8 9 void 10 foo (short ch, S *pi, short nc, S *po) 11 { 12 short clo, chi, lo, hi; 13 14 po->x = bar (ch, clo, chi, pi[lo].x, pi[hi].x); 15 po->y = bar (ch, clo, chi, pi[lo].y, pi[hi].y); 16 }