]> git.lizzy.rs Git - rust.git/blob - tests/ui/consts/issue-6991.rs
Rollup merge of #106962 - compiler-errors:use-sugg-span, r=oli-obk
[rust.git] / tests / ui / consts / issue-6991.rs
1 // check-pass
2 #![allow(dead_code)]
3 #![allow(non_upper_case_globals)]
4
5 static x: &'static usize = &1;
6 static y: usize = *x;
7
8 fn main() {}