]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/const_prop/return_place.rs
Merge commit '9a0c32934ebe376128230aa8da3275697b2053e7' into sync_cg_clif-2021-03-05
[rust.git] / src / test / mir-opt / const_prop / return_place.rs
1 // compile-flags: -C overflow-checks=on
2
3 // EMIT_MIR return_place.add.ConstProp.diff
4 // EMIT_MIR return_place.add.PreCodegen.before.mir
5 fn add() -> u32 {
6     2 + 2
7 }
8
9 fn main() {
10     add();
11 }