7 // EMIT_MIR rustc.BAR.PromoteTemps.diff
8 // EMIT_MIR rustc.BAR-promoted[0].ConstProp.after.mir
9 static mut BAR: *const &i32 = [&Y].as_ptr();
11 // EMIT_MIR rustc.FOO.PromoteTemps.diff
12 // EMIT_MIR rustc.FOO-promoted[0].ConstProp.after.mir
13 static mut FOO: *const &i32 = [unsafe { &X }].as_ptr();