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

11 lines
158 B
Rust

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