Sign in
fuchsia
/
third_party
/
rust
/
a10a02bf5fd00e4b34f1856af17d058dd5ec06f0
/
.
/
src
/
test
/
incremental
/
warnings-reemitted.rs
blob: 0e6b8823241c21318de521ce608afddfa8f0e9b3 [
file
] [
log
] [
blame
]
// revisions: cfail1 cfail2 cfail3
// compile-flags: -Coverflow-checks=on
// build-pass
#![
warn
(
arithmetic_overflow
)]
fn
main
()
{
let
_
=
255u8
+
1
;
//~ WARNING operation will overflow
}