rust/src/test/run-pass/issue2378c.rs
2012-05-18 20:00:50 -07:00

15 lines
267 B
Rust

// 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);
}