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