]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/const_prop/bad_op_mod_by_zero.rs
Rollup merge of #106664 - chenyukang:yukang/fix-106597-remove-lseek, r=cuviper
[rust.git] / tests / mir-opt / const_prop / bad_op_mod_by_zero.rs
1 // EMIT_MIR bad_op_mod_by_zero.main.ConstProp.diff
2 #[allow(unconditional_panic)]
3 fn main() {
4     let y = 0;
5     let _z = 1 % y;
6 }