rust/src/test/ui/issues/issue-17450.rs
2018-12-25 21:08:33 -07:00

8 lines
123 B
Rust

// compile-pass
#![allow(dead_code, warnings)]
static mut x: isize = 3;
static mut y: isize = unsafe { x };
fn main() {}