Sign in
android
/
toolchain
/
rustc
/
951ae7a5eefab93734d1309f0497487f13f59fbf
/
.
/
tests
/
mir-opt
/
not_equal_false.rs
blob: e056073290005c87faaefe7e04628770c62f57f4 [
file
] [
log
] [
blame
]
// unit-test: InstSimplify
// EMIT_MIR not_equal_false.opt.InstSimplify.diff
fn
opt
(
x
:
bool
)
->
u32
{
if
x
!=
false
{
0
}
else
{
1
}
}
fn
main
()
{
opt
(
false
);
}