rust/tests/incremental/static_cycle/b.rs

10 lines
230 B
Rust
Raw Normal View History

// revisions:rpass1 rpass2
#![cfg_attr(rpass2, warn(dead_code))]
pub static mut BAA: *const i8 = unsafe { &BOO as *const _ as *const i8 };
pub static mut BOO: *const i8 = unsafe { &BAA as *const _ as *const i8 };
fn main() {}