blob: 5b5db42f96a5b5f91dabe2903a7eeb9579d8905d [file] [log] [blame]
/* PR sanitizer/67279 */
/* { dg-do compile } */
/* { dg-options "-fsanitize=undefined -w" } */
#define INT_MIN (-__INT_MAX__ - 1)
void
foo (void)
{
static int a1 = 1 << 31;
static int a2 = 10 << 30;
static int a3 = 100 << 28;
static int a4 = INT_MIN / -1;
}