]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/const_prop/mult_by_zero.rs
Auto merge of #99066 - est31:remove_box_librustdoc, r=jsha
[rust.git] / src / test / mir-opt / const_prop / mult_by_zero.rs
1 // compile-flags: -O -Zmir-opt-level=4
2
3 // EMIT_MIR mult_by_zero.test.ConstProp.diff
4 fn test(x : i32) -> i32 {
5   x * 0
6 }
7
8 fn main() {
9     test(10);
10 }