rust/tests/incremental/static_refering_to_other_static2/issue.rs

11 lines
147 B
Rust

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