Sign in
fuchsia
/
third_party
/
rust
/
03222c037142e915e9ea75f681ab98a5a46b8739
/
.
/
src
/
test
/
run-fail
/
overflowing-neg.rs
blob: c4afd74241eda07509433399dca80cee01c65ff9 [
file
] [
log
] [
blame
]
// error-pattern:thread 'main' panicked at 'attempt to negate with overflow'
// compile-flags: -C debug-assertions
#![
allow
(
const_err
)]
fn
main
()
{
let
_x
=
-
std
::
i8
::
MIN
;
}