Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
mir-opt
/
const_prop
/
bad_op_div_by_zero.rs
blob: ab41f64a57329987a44af89832a863a8eccd2077 [
file
] [
log
] [
blame
]
// skip-filecheck
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
// unit-test: ConstProp
// EMIT_MIR bad_op_div_by_zero.main.ConstProp.diff
#[
allow
(
unconditional_panic
)]
fn
main
()
{
let
y
=
0
;
let
_z
=
1
/
y
;
}