(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
ubsan/
c99-shift-1.c
       1  /* { dg-do run } */
       2  /* { dg-options "-fsanitize=shift -w -std=c99" } */
       3  
       4  int
       5  main (void)
       6  {
       7    int a = -42;
       8    a << 1;
       9  }
      10  /* { dg-output "left shift of negative value -42" } */