mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
Add a test for the just closed issue #2426.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
enum test { thing = -5 >> 1u }
|
||||
fn main() {
|
||||
assert(thing as int == -3);
|
||||
}
|
||||
Reference in New Issue
Block a user