]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/const_prop/read_immutable_static.rs
Auto merge of #92805 - BoxyUwU:revert-lazy-anon-const-substs, r=lcnr
[rust.git] / src / test / mir-opt / const_prop / read_immutable_static.rs
1 // compile-flags: -O
2
3 static FOO: u8 = 2;
4
5 // EMIT_MIR read_immutable_static.main.ConstProp.diff
6 fn main() {
7     let x = FOO + FOO;
8 }