rust/src/test/auxiliary/issue-2380.rs
2012-05-29 17:05:17 -07:00

11 lines
147 B
Rust

#[link(name = "a", vers = "0.0")];
#[crate_type = "lib"];
iface i<T> { }
fn f<T>() -> i<T> {
impl <T> of i<T> for () { }
() as i::<T>
}