rust/tests/ui/issues/issue-17450.rs
2024-02-16 20:02:50 +00:00

8 lines
122 B
Rust

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