Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.dg
/
overflow-warn-5.c
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" } */
}