blob: f2d46c8dc56893ba864cd754149e4e5c6559edc8 [file] [log] [blame]
/* { dg-do run } */
/* { dg-options "-fsanitize=undefined -fsanitize-undefined-trap-on-error" } */
int x = -106;
int main()
{
// -123 - (0x8000000000000000 - -1)
return (-123 - ((9223372036854775806LL ^ ~(x && 1)) - -1)) == 0;
}