S/390: Allow immediates in loc expander
[official-gcc.git] / gcc / testsuite / gcc.dg / pr60351.c
blob29184d94872025eb3eabceb790aad141953a42a0
1 /* PR c/60351 */
2 /* { dg-do compile } */
4 void
5 f (int i)
7 i >> -1; /* { dg-warning "5:right shift count is negative" } */
8 i >> 250; /* { dg-warning "5:right shift count >= width of type" } */
9 i << -1; /* { dg-warning "5:left shift count is negative" } */
10 i << 250; /* { dg-warning "5:left shift count >= width of type" } */