13 lines
153 B
Rust
13 lines
153 B
Rust
|
|
enum bar { u(~int), w(int), }
|
|
|
|
fn main() {
|
|
assert alt u(~10) {
|
|
u(a) {
|
|
log(error, a);
|
|
*a
|
|
}
|
|
_ { 66 }
|
|
} == 10;
|
|
}
|