We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 037a166 commit 2a9bf09Copy full SHA for 2a9bf09
src/test/run-pass/resolve-issue-2428.rs
@@ -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