]>
git.proxmox.com Git - rustc.git/blob - src/test/mir-opt/building/storage_live_dead_in_statics.rs
1 // Check that when we compile the static `XXX` into MIR, we do not
2 // generate `StorageStart` or `StorageEnd` statements.
4 // EMIT_MIR storage_live_dead_in_statics.XXX.built.after.mir
5 static XXX
: &'
static Foo
= &Foo
{
8 (0, 1), (0, 2), (0, 3),
9 (0, 1), (0, 2), (0, 3),
10 (0, 1), (0, 2), (0, 3),
11 (0, 1), (0, 2), (0, 3),
12 (0, 1), (0, 2), (0, 3),
13 (0, 1), (0, 2), (0, 3),
14 (0, 1), (0, 2), (0, 3),
15 (0, 1), (0, 2), (0, 3),
16 (0, 1), (0, 2), (0, 3),
17 (0, 1), (0, 2), (0, 3),
18 (0, 1), (0, 2), (0, 3),
19 (0, 1), (0, 2), (0, 3),
20 (0, 1), (0, 2), (0, 3),
21 (0, 1), (0, 2), (0, 3),
28 data
: &'
static [(u32, u32)]
32 println
!("{:?}", XXX
);