rust/tests/ui/issues/issue-17450.rs
2023-01-11 09:32:08 +00:00

8 lines
121 B
Rust

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