Permalink
Browse files

Add a test for Issue #2428.

  • Loading branch information...
1 parent 037a166 commit 2a9bf0959b8929736a6c42b3096eed1c4d431aa6 @msullivan msullivan committed May 22, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/test/run-pass/resolve-issue-2428.rs
@@ -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.