13 lines
216 B
Rust
13 lines
216 B
Rust
|
// xfail-test
|
||
|
fn main() {
|
||
|
let one = fn@() -> uint {
|
||
|
enum r { a };
|
||
|
return a as uint;
|
||
|
};
|
||
|
let two = fn@() -> uint {
|
||
|
enum r { a };
|
||
|
return a as uint;
|
||
|
};
|
||
|
one(); two();
|
||
|
}
|