Sign in
fuchsia
/
third_party
/
rust
/
e6ee8a0d44fcedb583067bbaf36bcdf325029cdd
/
.
/
src
/
test
/
incremental
/
warnings-reemitted.rs
blob: f2acaa0121bb268499c9790c1e3fa5d4e1460134 [
file
] [
log
] [
blame
]
// revisions: cfail1 cfail2 cfail3
// compile-flags: -Coverflow-checks=on
// compile-pass
#![
allow
(
warnings
)]
#![
warn
(
const_err
)]
fn
main
()
{
255u8
+
1
;
//~ WARNING this expression will panic at run-time
}