summaryrefslogtreecommitdiffstats
path: root/tests/ui/cross-crate/auxiliary/static_init_aux.rs
blob: 3b664f43654e9a48a124054b9e694e799d154112 (plain)
1
2
3
4
5
6
7
8
9
10
pub static V: &u32 = &X;
pub static F: fn() = f;

static X: u32 = 42;

pub fn v() -> *const u32 {
    V
}

fn f() {}