Skip to content

Commit

Permalink
Add a test for Issue #2428.
Browse files Browse the repository at this point in the history
  • Loading branch information
msullivan committed May 22, 2012
1 parent 037a166 commit 2a9bf09
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/run-pass/resolve-issue-2428.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// xfail-test

const foo: int = 4 >> 1;
enum bs { thing = foo }
fn main() { assert(thing as int == foo); }

0 comments on commit 2a9bf09

Please sign in to comment.