rust/src/test/run-pass/vec-in-tup.rs

6 lines
95 B
Rust

fn main() {
let tup(mutable vec[int]) i = tup(mutable [1, 2, 3]);
i._0 = [4, 5, 6];
}