rust/src/test/run-pass/generic-ivec.rs
2011-07-27 15:54:33 +02:00

6 lines
73 B
Rust

// xfail-stage0
fn f[T](v: @T) { }
fn main() { f(@~[1, 2, 3, 4, 5]); }