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