rust/tests/ui/array-slice-vec/new-style-fixed-length-vec.rs
2023-01-11 09:32:08 +00:00

8 lines
118 B
Rust

// run-pass
static FOO: [isize; 3] = [1, 2, 3];
pub fn main() {
println!("{} {} {}", FOO[0], FOO[1], FOO[2]);
}