rust/src/test/run-pass/crate-method-reexport-grrrrrrr.rs

17 lines
371 B
Rust
Raw Normal View History

// This is a regression test that the metadata for the
// name_pool::methods impl in the other crate is reachable from this
// crate.
2012-07-13 11:24:27 -05:00
// 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");
2012-07-13 11:24:27 -05:00
}