]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/const_prop/scalar_literal_propagation.rs
Rollup merge of #74842 - hermitcore:thread_local, r=Mark-Simulacrum
[rust.git] / src / test / 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) { }