summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-17450.rs
blob: 1ac0af1754ba494e4ab4b357b26403b4242b82ad (plain)
1
2
3
4
5
6
7
// build-pass
#![allow(dead_code, warnings)]

static mut x: isize = 3;
static mut y: isize = unsafe { x };

fn main() {}