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

     1  /* PR target/9164 */
     2  /* The comparison operand was sign extended erraneously.  */
     3  
     4  int
     5  main (void)
     6  {
     7      long j = 0x40000000;
     8      if ((unsigned int) (0x40000000 + j) < 0L)
     9   	abort ();
    10  
    11      return 0;
    12  }