Sign in
fuchsia
/
third_party
/
rust
/
75c82b4dd8152562ff2056f2172b20aa9c46def2
/
.
/
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
;
}