rust/src/test/auxiliary/crateresolve5-1.rs

11 lines
187 B
Rust
Raw Normal View History

#[link(name = "crateresolve5",
vers = "0.1")];
#[crate_type = "lib"];
fn structural() -> { name: str, val: int } {
{ name: "crateresolve5", val: 10 }
}
fn f() -> int { 10 }