5 lines
77 B
Rust
5 lines
77 B
Rust
enum test { thing = -5 >> 1u }
|
|
fn main() {
|
|
assert(thing as int == -3);
|
|
}
|