]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/const_prop/mult_by_zero.rs
Merge commit '4c41a222ca5d1325fb4b6709395bd06e766cc042' into clippyup
[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 }