Skip to content

Commit 2a9bf09

Browse files
committed
Add a test for Issue #2428.
1 parent 037a166 commit 2a9bf09

File tree

1 file changed

+5
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)