rust/tests/incremental/static_refering_to_other_static/issue-49081.rs

9 lines
143 B
Rust

// https://github.com/rust-lang/rust/issues/49081
//@ revisions:rpass1 rpass2
pub static A: i32 = 42;
pub static B: &i32 = &A;
fn main() {}