summary refs log tree commit diff
path: root/src/test/ui/issues/issue-15261.rs
blob: dd859475f9c8e06c58ecdeaf246e749e5269df70 (plain)
1
2
3
4
5
6
7
8
9
10
11
// build-pass (FIXME(62277): could be check-pass?)
#![allow(dead_code)]
#![allow(non_upper_case_globals)]

// pretty-expanded FIXME #23616

static mut n_mut: usize = 0;

static n: &'static usize = unsafe{ &n_mut };

fn main() {}