rust/src/test/ui/issues/issue-21891.rs
2018-12-25 21:08:33 -07:00

13 lines
238 B
Rust

// compile-pass
#![allow(dead_code)]
#![allow(non_upper_case_globals)]
// pretty-expanded FIXME #23616
static foo: [usize; 3] = [1, 2, 3];
static slice_1: &'static [usize] = &foo;
static slice_2: &'static [usize] = &foo;
fn main() {}