modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/xbg.c (about)

     1  typedef short type;
     2  
     3  short
     4  foo (type *sp, int a)
     5  {
     6    type t;
     7    int i;
     8  
     9    t = sp[a];
    10    i = (int)(type)sp[a];
    11    if (i)
    12      return 0;
    13    return t;
    14  }