Sign in
android
/
toolchain
/
rustc
/
15a6560abe9880705f51d219c1fa94f880dbaf35
/
.
/
src
/
tools
/
miri
/
tests
/
compile-fail
/
div-by-zero-2.rs
blob: e904049e3b466e7bef51486a3ea3f91008902056 [
file
] [
log
] [
blame
]
#![
feature
(
core_intrinsics
)]
use
std
::
intrinsics
::*;
fn
main
()
{
unsafe
{
let
_n
=
unchecked_rem
(
3u32
,
0
);
//~ ERROR calculating the remainder with a divisor of zero
}
}