Update and un-xfail crate-method-reexport-grrrrrrr2

Closes #3155
This commit is contained in:
Tim Chevalier 2012-12-08 23:39:52 -08:00
parent 42f8a3366a
commit 3f7b112b16
2 changed files with 4 additions and 7 deletions

View File

@ -22,9 +22,7 @@ mod name_pool {
mod rust {
#[legacy_exports];
import name_pool::add;
// FIXME #3155: this is a hack
import name_pool::__extensions__;
use name_pool::add;
export add;
export rt;
export cx;

View File

@ -2,15 +2,14 @@
// name_pool::methods impl in the other crate is reachable from this
// crate.
// xfail-test
// xfail-fast
// aux-build:crate-method-reexport-grrrrrrr2.rs
use crate_method_reexport_grrrrrrr2;
extern mod crate_method_reexport_grrrrrrr2;
fn main() {
import crate_method_reexport_grrrrrrr2::rust::add;
import crate_method_reexport_grrrrrrr2::rust::cx;
use crate_method_reexport_grrrrrrr2::rust::add;
use crate_method_reexport_grrrrrrr2::rust::cx;
let x = @();
x.cx();
let y = ();