mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +00:00
13 lines
236 B
Rust
13 lines
236 B
Rust
// build-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() {}
|