Adjust scan string for PIE
[official-gcc.git] / gcc / testsuite / gcc.dg / overflow-warn-5.c
blob472d4a7cab14185384cebeb819a6d104093f21fc
1 /* PR c/27273 */
2 /* { dg-do compile } */
3 /* { dg-options "-Woverflow" } */
5 unsigned char rx_async(unsigned char p) {
6 return p & 512; /* { dg-warning "overflow in implicit constant conversion" } */