rust/src/test/auxiliary/issue_2242_b.rs
2012-09-05 12:32:05 -07:00

10 lines
151 B
Rust

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