rust/src/test/auxiliary/issue_2242_b.rs
2012-06-20 16:25:46 -07:00

10 lines
156 B
Rust

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