1 /* PR 30465 : Test for duplicated warnings in a conversion. */
2 /* { dg-do compile } */
3 /* { dg-options "-Woverflow" } */
8 short int wc
= ((short int)1 << (8 * __SIZEOF_INT__
- 1)) - 1; /* { dg-bogus "overflow .* overflow" } */
9 /* { dg-warning "overflow" "" { target *-*-* } .-1 } */