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 f5c7457 commit ed2b64aCopy full SHA for ed2b64a
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: 2cc01e2ca2d84af609ecef3a415ee7839715900f
+refs/heads/master: 92af552956fd81693d335cfcab28526607ba286c
trunk/src/test/run-fail/unwind-partial-unique.rs
@@ -0,0 +1,18 @@
+// error-pattern:fail
+
3
+fn f() -> [int] { fail; }
4
5
+// Voodoo. In unwind-alt we had to do this to trigger the bug. Might
6
+// have been to do with memory allocation patterns.
7
+fn prime() {
8
+ @0;
9
+}
10
11
+fn partial() {
12
+ let x = ~f();
13
14
15
+fn main() {
16
+ prime();
17
+ partial();
18
0 commit comments