(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.c-torture/
execute/
pr66940.c
       1  long long __attribute__ ((noinline, noclone))
       2  foo (long long ival)
       3  {
       4   if (ival <= 0)
       5      return -0x7fffffffffffffffL - 1;
       6  
       7   return 0x7fffffffffffffffL;
       8  }
       9  
      10  int
      11  main (void)
      12  {
      13    if (foo (-1) != (-0x7fffffffffffffffL - 1))
      14      __builtin_abort ();
      15  
      16    if (foo (1) != 0x7fffffffffffffffL)
      17      __builtin_abort ();
      18  
      19    return 0;
      20  }