Debian Codegraph @

gcc/testsuite/c-c++-common/ubsan/const-char-1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-fsanitize=shift" } */
3
4 void
5 foo (void)
6 {
7 int y = 1 << 2;
8 __builtin_printf ("%d\n", y);
9 }