Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
c-c++-common
/
ubsan
/
pr80932.c
blob: 92903f7e0ee4c5577d33e54282f9a1429aea8090 [
file
] [
log
] [
blame
]
/* PR sanitizer/80932 */
/* { dg-do run } */
/* { dg-options "-fsanitize=undefined -fsanitize-undefined-trap-on-error" } */
int
x
=
1
;
int
foo
(
void
)
{
return
((
int
)
(
2855545792U
*
x
)
-
(
int
)
(
3269399503U
*
x
))
*
-
5
;
}
int
main
()
{
foo
();
}