rust/src/test/run-pass/new-style-fixed-length-vec.rs
2013-03-19 15:40:04 -07:00

11 lines
133 B
Rust

use core::io::println;
static FOO: [int, ..3] = [1, 2, 3];
fn main() {
println(fmt!("%d %d %d", FOO[0], FOO[1], FOO[2]));
}