blob: ee8472100a08eec289490e86771e333faa67db0f [file] [log] [blame]
//! regression test for https://github.com/rust-lang/rust/issues/17450
//@ build-pass
#![allow(dead_code)]
static mut X: isize = 3;
static mut Y: isize = unsafe { X };
fn main() {}