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

11 lines
160 B
Rust

#[link(name = "a", vers = "0.1")];
#[crate_type = "lib"];
iface to_str {
fn to_str() -> str;
}
impl of to_str for str {
fn to_str() -> str { self }
}