Skip to content

Commit ed2b64a

Browse files
committed
---
yaml --- r: 5432 b: refs/heads/master c: 92af552 h: refs/heads/master v: v3
1 parent f5c7457 commit ed2b64a

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 2cc01e2ca2d84af609ecef3a415ee7839715900f
2+
refs/heads/master: 92af552956fd81693d335cfcab28526607ba286c
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// error-pattern:fail
2+
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

Comments
 (0)