rust/tests/incremental/static_refering_to_other_static2/issue.rs
2023-01-11 09:32:08 +00:00

11 lines
146 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() {}