rust/src/test/auxiliary/issue_2242_b.rs
2012-08-08 18:19:24 -07:00

10 lines
151 B
Rust

#[link(name = "b", vers = "0.1")];
#[crate_type = "lib"];
use a;
import a::to_str;
impl int: to_str {
fn to_str() -> ~str { fmt!{"%?", self} }
}