PR tree-optimization/86401
[official-gcc.git] / gcc / testsuite / c-c++-common / Wshift-count-negative-2.c
blob91c71297db3fbb74c880750aa1eff8abfd7ab760
1 /* { dg-do compile } */
2 /* { dg-options "-Wno-shift-count-negative" } */
4 void foo()
6 unsigned i1 = 1U << -1;
7 unsigned i2 = 1U >> -1;