2019-10-29 00:00:00 +00:00
|
|
|
// build-pass
|
2018-09-25 23:51:35 +02:00
|
|
|
#![allow(dead_code)]
|
2018-08-31 15:02:01 +02:00
|
|
|
#![allow(non_upper_case_globals)]
|
|
|
|
|
2015-03-22 13:13:15 -07:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2015-03-25 17:06:52 -07:00
|
|
|
static foo: [usize; 3] = [1, 2, 3];
|
2015-02-06 00:07:05 +01:00
|
|
|
|
2015-03-25 17:06:52 -07:00
|
|
|
static slice_1: &'static [usize] = &foo;
|
|
|
|
static slice_2: &'static [usize] = &foo;
|
2015-02-06 00:07:05 +01:00
|
|
|
|
|
|
|
fn main() {}
|