blob: 1a5aa0c6059b4fd3126845dab9d1dff465f1e49f [file] [log] [blame]
/* PR c/27273 */
/* { dg-do compile } */
/* { dg-options "-Woverflow" } */
unsigned char rx_async(unsigned char p) {
return p & 512; /* { dg-warning "overflow in conversion from .int. to .unsigned char. changes value" } */
}