about summary refs log tree commit diff
path: root/tests/ui/array-slice-vec/new-style-fixed-length-vec.rs
blob: 95ff2539a5da0ddc5e00df10c93b58175ba05cdf (plain)
1
2
3
4
5
6
7
//@ run-pass

static FOO: [isize; 3] = [1, 2, 3];

pub fn main() {
    println!("{} {} {}", FOO[0], FOO[1], FOO[2]);
}