modernc.org/cc@v1.0.1/testdata/gcc-6.3.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  }