rust/src/test/run-pass/issue2378c.rs

15 lines
267 B
Rust
Raw Normal View History

2012-05-14 00:12:58 -05:00
// xfail-test -- #2378 unfixed
// aux-build:issue2378a.rs
// aux-build:issue2378b.rs
use issue2378a;
use issue2378b;
import issue2378a::{just, methods};
import issue2378b::{methods};
fn main() {
let x = {a: just(3), b: just(5)};
assert x[0u] == (3, 5);
}