rust/tests/incremental/static_refering_to_other_static2/issue.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
146 B
Rust
Raw Normal View History

// revisions:rpass1 rpass2
#[cfg(rpass1)]
pub static A: i32 = 42;
#[cfg(rpass2)]
pub static A: i32 = 43;
pub static B: &i32 = &A;
fn main() {}