summaryrefslogtreecommitdiffstats
path: root/src/test/ui/array-slice-vec/new-style-fixed-length-vec.rs
blob: 454f94be8762ca62d2ddb1e9e79e55893e905d63 (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]);
}