blob: ff6776bf3c1fb3f14ae6e37be0f3a8f4c0b516cd [file] [log] [blame]
/* { 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" } */