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

     1  /* PR target/25554 */
     2  /* Bitwise shift with negative shift count has undefined behavior,
     3     but we shouldn't ICE on it.  */
     4  
     5  void
     6  foo (long x)
     7  {
     8    if (((x >> -2) & 1) != 0)
     9      bar ();
    10  }