Skip to content

Commit 1eebb1f

Browse files
committed
Add a test for the just closed issue #2426.
1 parent 7fee392 commit 1eebb1f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
enum test { thing = -5 >> 1u }
2+
fn main() {
3+
assert(thing as int == -3);
4+
}

0 commit comments

Comments
 (0)