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