Sign in
fuchsia
/
third_party
/
rust
/
f22bb2e72267890782897c208bbc9114d023dfc7
/
.
/
src
/
test
/
run-fail
/
overflowing-add.rs
blob: 24602aced9e429a3d202cfd28957329f930b383f [
file
] [
log
] [
blame
]
// error-pattern:thread 'main' panicked at 'attempt to add with overflow'
// compile-flags: -C debug-assertions
#![
allow
(
const_err
)]
fn
main
()
{
let
_x
=
200u8
+
200u8
+
200u8
;
}