rust/src/test/run-pass/regions-creating-enums5.rs
2012-04-23 08:02:59 -07:00

11 lines
137 B
Rust

enum ast/& {
num(uint),
add(&ast, &ast)
}
fn mk_add_ok(x: &a.ast, y: &a.ast, z: &ast) -> ast/&a {
add(x, y)
}
fn main() {
}