rust/src/test/run-pass/crate-method-reexport-grrrrrrr.rs
2012-07-13 10:20:50 -07:00

17 lines
371 B
Rust

// This is a regression test that the metadata for the
// name_pool::methods impl in the other crate is reachable from this
// crate.
// xfail-fast
// aux-build:crate-method-reexport-grrrrrrr2.rs
use crate_method_reexport_grrrrrrr2;
fn main() {
import crate_method_reexport_grrrrrrr2::rust::methods;
let x = @();
x.cx();
let y = ();
y.add("hi");
}