summary refs log tree commit diff
path: root/src/test/auxiliary/issue_2242_a.rs
blob: e7947cf583a8f9310c6aea22ddff091bb7f5b62e (plain)
1
2
3
4
5
6
7
8
9
10
#[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 }
}