Sign in
android
/
toolchain
/
rustc
/
c396013a05f0623e5cbcfc712426adb8e384ed83
/
.
/
tests
/
mir-opt
/
const_prop
/
transmute.invalid_bool.ConstProp.64bit.diff
blob: 38a1eb5a15b5770df83a4a170433706203be5d7e [
file
] [
log
] [
blame
]
-
// MIR for `invalid_bool` before ConstProp
+
// MIR for `invalid_bool` after ConstProp
fn invalid_bool
()
->
bool
{
let
mut _0
:
bool
;
scope
1
{
}
bb0
:
{
-
_0
=
const
-
1
_i8
as
bool
(
Transmute
);
+
_0
=
const
{
transmute
(
0xff
):
bool
};
return
;
}
}