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

     1  extern void abort (void);
     2  extern void exit (int);
     3  
     4  int a[6], c = 1, d;
     5  short e;
     6  
     7  int __attribute__ ((noinline))
     8  fn1 (int p)
     9  {
    10    return a[p];
    11  }
    12  
    13  int
    14  main ()
    15  {
    16    if (sizeof (long long) != 8)
    17      exit (0);
    18  
    19    a[0] = 1;
    20    if (c)
    21      e--;
    22    d = e;
    23    long long f = e;
    24    if (fn1 ((f >> 56) & 1) != 0)
    25      abort ();
    26    exit (0);
    27  }