7 lines
105 B
Rust
7 lines
105 B
Rust
enum xx = int;
|
|
|
|
fn main() {
|
|
let @{x: xx(x), y: y} = @{x: xx(10), y: 20};
|
|
assert (x + y == 30);
|
|
}
|