rust/tests/ui/array-slice-vec/new-style-fixed-length-vec.rs
2024-02-16 20:02:50 +00:00

8 lines
119 B
Rust

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