rust/src/test/run-pass/generic-ivec.rs

4 lines
56 B
Rust

fn f<T>(v: @T) { }
fn main() { f(@~[1, 2, 3, 4, 5]); }