2012-04-07 19:25:33 -05:00
|
|
|
#[link(name = "crateresolve5",
|
|
|
|
vers = "0.2")];
|
|
|
|
|
|
|
|
#[crate_type = "lib"];
|
|
|
|
|
|
|
|
fn structural() -> { name: str, val: int } {
|
|
|
|
{ name: "crateresolve5", val: 10 }
|
|
|
|
}
|
|
|
|
|
2012-04-07 19:28:09 -05:00
|
|
|
enum e {
|
|
|
|
e_val
|
|
|
|
}
|
|
|
|
|
|
|
|
fn nominal() -> e { e_val }
|
|
|
|
|
2012-04-07 19:25:33 -05:00
|
|
|
fn f() -> int { 20 }
|