Add a test for the just closed issue #2426.

This commit is contained in:
Michael Sullivan 2012-05-30 16:02:48 -07:00
parent 7fee392de5
commit 1eebb1fe87

View File

@ -0,0 +1,4 @@
enum test { thing = -5 >> 1u }
fn main() {
assert(thing as int == -3);
}