rust/src/test/run-pass/regions-creating-enums2.rs

11 lines
121 B
Rust
Raw Normal View History

2012-04-21 10:04:58 -07:00
enum ast/& {
num(uint),
add(&ast, &ast)
}
fn mk_add_ok(x: &ast, y: &ast) -> ast {
add(x, y)
}
fn main() {
}