Debian Codegraph @

gcc/testsuite/c-c++-common/ubsan/shift-10.c

raw
1 /* PR sanitizer/80067 */
2 /* { dg-do compile } */
3 /* { dg-options "-fsanitize=shift" } */
4
5 extern signed char a;
6 void
7 foo ()
8 {
9 0 << ((647 > a) - 1);
10 }