rust/src/test/auxiliary/issue-2414-a.rs
2012-08-08 18:19:24 -07:00

14 lines
141 B
Rust

#[link(name = "a", vers = "0.1")];
#[crate_type = "lib"];
type t1 = uint;
trait foo {
fn foo();
}
impl ~str: foo {
fn foo() {}
}