rust/tests/incremental/static_cycle/b.rs

10 lines
231 B
Rust

//@ 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() {}