6209e844ee
Closes #799
8 lines
129 B
Rust
8 lines
129 B
Rust
// xfail-test
|
|
fn main() {
|
|
let vec<int> v = [1,2,3,4,5];
|
|
auto v2 = v.(1,2);
|
|
assert (v2.(0) == 2);
|
|
assert (v2.(1) == 3);
|
|
}
|