rust/src/test/auxiliary/issue_2242_b.rs

10 lines
151 B
Rust
Raw Normal View History

2012-06-20 18:23:45 -05:00
#[link(name = "b", vers = "0.1")];
#[crate_type = "lib"];
use a;
import a::to_str;
2012-08-07 20:10:06 -05:00
impl int: to_str {
fn to_str() -> ~str { fmt!{"%?", self} }
2012-06-20 18:23:45 -05:00
}