c83d61de93
Use node IDs rather than types to ensure exported names are unique. duplicate symbol. Closes #2074.
12 lines
207 B
Rust
12 lines
207 B
Rust
fn main(args: [str]) {
|
|
let one = fn@() -> uint {
|
|
enum r { a };
|
|
ret a as uint;
|
|
};
|
|
let two = fn@() -> uint {
|
|
enum r { a };
|
|
ret a as uint;
|
|
};
|
|
one(); two();
|
|
}
|