]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/const_allocation.rs
Rollup merge of #106446 - bzEq:fix-unwind-lsda, r=Amanieu
[rust.git] / tests / mir-opt / const_allocation.rs
1 // unit-test: ConstProp
2 // ignore-endian-big
3 // EMIT_MIR_FOR_EACH_BIT_WIDTH
4 static FOO: &[(Option<i32>, &[&str])] =
5     &[(None, &[]), (None, &["foo", "bar"]), (Some(42), &["meh", "mop", "möp"])];
6
7 // EMIT_MIR const_allocation.main.ConstProp.after.mir
8 fn main() {
9     FOO;
10 }