aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/ubsan/c99-wrapv-shift-1.c
blob: 51910da2c80369b50110e006528278b1905423a4 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do run } */
/* { dg-options "-fsanitize=shift -fwrapv -w -std=c99" } */

int
main (void)
{
  int a = -42;
  a << 1;
}