Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
consts
/
const-eval
/
issue-64970.rs
blob: c7be311ce6bd7b62d7d683649f45774c4729ceb7 [
file
] [
log
] [
blame
] [
edit
]
//@ run-pass
fn
main
()
{
foo
(
10
);
}
fn
foo
(
mut
n
:
i32
)
{
if
false
{
n
=
0i32
;
}
if
n
>
0i32
{
let
_
=
1i32
/
n
;
}
}