]> git.lizzy.rs Git - rust.git/blob - src/test/ui/statics/issue-15261.rs
Rollup merge of #89468 - FabianWolff:issue-89358, r=jackh726
[rust.git] / src / test / ui / statics / issue-15261.rs
1 // build-pass
2 #![allow(dead_code)]
3 #![allow(non_upper_case_globals)]
4
5 // pretty-expanded FIXME #23616
6
7 static mut n_mut: usize = 0;
8
9 static n: &'static usize = unsafe{ &n_mut };
10
11 fn main() {}