2012-12-10 19:32:48 -06:00
|
|
|
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
|
|
|
|
// file at the top-level directory of this distribution and at
|
|
|
|
// http://rust-lang.org/COPYRIGHT.
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
|
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
|
|
// option. This file may not be copied, modified, or distributed
|
|
|
|
// except according to those terms.
|
|
|
|
|
2012-07-11 20:38:12 -05:00
|
|
|
#[link(name = "crate_method_reexport_grrrrrrr2")];
|
|
|
|
|
2013-01-30 17:56:40 -06:00
|
|
|
pub use name_pool::add;
|
2012-07-11 20:38:12 -05:00
|
|
|
|
2013-01-30 17:56:40 -06:00
|
|
|
pub mod name_pool {
|
2013-01-30 16:30:22 -06:00
|
|
|
pub type name_pool = ();
|
2012-07-11 20:38:12 -05:00
|
|
|
|
2013-01-30 16:30:22 -06:00
|
|
|
pub trait add {
|
2012-07-11 17:00:40 -05:00
|
|
|
fn add(s: ~str);
|
|
|
|
}
|
|
|
|
|
2013-02-14 23:17:26 -06:00
|
|
|
pub impl add for name_pool {
|
2012-07-14 00:57:48 -05:00
|
|
|
fn add(s: ~str) {
|
2012-07-11 20:38:12 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-01-30 16:30:22 -06:00
|
|
|
pub mod rust {
|
2013-01-30 17:56:40 -06:00
|
|
|
pub use name_pool::add;
|
2012-07-11 20:38:12 -05:00
|
|
|
|
2013-01-30 16:30:22 -06:00
|
|
|
pub type rt = @();
|
2012-07-11 20:38:12 -05:00
|
|
|
|
2013-01-30 16:30:22 -06:00
|
|
|
pub trait cx {
|
2012-07-11 17:00:40 -05:00
|
|
|
fn cx();
|
|
|
|
}
|
|
|
|
|
2013-02-14 23:17:26 -06:00
|
|
|
pub impl cx for rt {
|
2012-07-11 20:38:12 -05:00
|
|
|
fn cx() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|