]> git.lizzy.rs Git - rust.git/blob - tests/ui/statics/issue-15261.rs
Rollup merge of #106397 - compiler-errors:new-solver-impl-wc, r=lcnr
[rust.git] / tests / 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() {}