blob: f2d46c8dc56893ba864cd754149e4e5c6559edc8 (
plain)
1
2
3
4
5
6
7
8
9
|
/* { 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;
}
|