Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
mir-opt
/
const_prop
/
indirect.rs
blob: 0e6e1d78d1e37ac6140ecb6e973210cadfa38cdf [
file
] [
log
] [
blame
]
// skip-filecheck
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
// unit-test: ConstProp
// compile-flags: -C overflow-checks=on
// EMIT_MIR indirect.main.ConstProp.diff
fn
main
()
{
let
x
=
(
2u32
as
u8
)
+
1
;
}