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