Sign in
chromium
/
native_client
/
nacl-toolchain
/
gcc-4.4.3
/
.
/
gcc
/
gcc
/
testsuite
/
g++.dg
/
warn
/
overflow-warn-5.C
blob: 472d4a7cab14185384cebeb819a6d104093f21fc [
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 implicit constant conversion" } */
}