rust/src/test/run-pass/ivec-pass-by-value.rs

4 lines
56 B
Rust

fn f(a: ~[int]) { }
fn main() { f(~[1, 2, 3, 4, 5]); }