blob: d15a27a2a2e65510f52bd47223f79fd738595f6a [file] [log] [blame]
// compile-pass
#![allow(dead_code)]
#![allow(non_upper_case_globals)]
#![feature(nll)]
static mut x: &'static u32 = &0;
fn foo() {
unsafe { x = &1; }
}
fn main() { }