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

     1  /* PR c/42721 */
     2  
     3  extern void abort (void);
     4  
     5  static unsigned long long
     6  foo (unsigned long long x, unsigned long long y)
     7  {
     8    return x / y;
     9  }
    10  
    11  static int a, b;
    12  
    13  int
    14  main (void)
    15  {
    16    unsigned long long c = 1;
    17    b ^= c && (foo (a, -1ULL) != 1L);
    18    if (b != 1)
    19      abort ();
    20    return 0;
    21  }