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

9 lines
142 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() {}