rust/src/test/run-pass/crate-method-reexport-grrrrrrr.rs
2012-07-17 15:46:43 -07:00

19 lines
481 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;
import crate_method_reexport_grrrrrrr2::rust::add;
import crate_method_reexport_grrrrrrr2::rust::cx;
let x = @();
x.cx();
let y = ();
y.add(~"hi");
}