Debian Codegraph @

gcc/testsuite/c-c++-common/Wshift-count-negative-2.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-Wno-shift-count-negative" } */
3
4 void foo()
5 {
6 unsigned i1 = 1U << -1;
7 unsigned i2 = 1U >> -1;
8 }