Debian Codegraph @

gcc/testsuite/c-c++-common/ubsan/pr80536.c

raw
1 /* PR sanitizer/80536 */
2 /* { dg-do compile } */
3 /* { dg-options "-fsanitize=undefined" } */
4
5 int
6 foo (int i)
7 {
8 return ((i * (unsigned long long) (-0 + 1UL)) * 2) % 1;
9 }