Debian Codegraph @

gcc/testsuite/c-c++-common/ubsan/typedef-1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-fsanitize=undefined" } */
3
4 typedef int V;
5 int
6 foo (void)
7 {
8 V v = 9;
9 int a = 3;
10 v += v % a;
11 return v / 3;
12 }