]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/const_prop/return_place.rs
Merge commit '9809f5d21990d9e24b3e9876ea7da756fd4e9def' into libgccjit-codegen
[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 }