1  /* PR sanitizer/58443 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-fsanitize=unreachable,integer-divide-by-zero -w" } */
       4  
       5  int
       6  foo (int u, int o)
       7  {
       8    return u >> o;
       9  }
      10  
      11  /* { dg-final { scan-assembler-not "__ubsan_handle_shift_out_of_bounds" } } */