summary refs log tree commit diff
path: root/src/test/ui/issues/issue-21891.rs
blob: de0aa2919cfbc0be87e83bfdaaee16ee0450e2b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// build-pass (FIXME(62277): could be check-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() {}