]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/const_prop/scalar_literal_propagation.rs
Rollup merge of #107770 - notriddle:notriddle/br2nl, r=GuillaumeGomez
[rust.git] / tests / mir-opt / const_prop / scalar_literal_propagation.rs
1 // EMIT_MIR scalar_literal_propagation.main.ConstProp.diff
2 fn main() {
3     let x = 1;
4     consume(x);
5 }
6
7 #[inline(never)]
8 fn consume(_: u32) { }