Debian Codegraph @

gcc/testsuite/c-c++-common/ubsan/save-expr-2.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-fsanitize=shift -Wall -Werror -O" } */
3
4 int
5 foo (int i, unsigned int u)
6 {
7 return u / i;
8 }
9
10 int
11 bar (int i, unsigned int u)
12 {
13 return u % i;
14 }