Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add a test for Issue #2428.

  • Loading branch information...
commit 2a9bf0959b8929736a6c42b3096eed1c4d431aa6 1 parent 037a166
@msullivan msullivan authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/test/run-pass/resolve-issue-2428.rs
View
5 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); }
Please sign in to comment.
Something went wrong with that request. Please try again.