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