Skip to content

Commit 7389835

Browse files
committed
Test for #973
1 parent 60ec49b commit 7389835

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test/run-pass/unreachable-code.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ fn call_id_3() { id(ret) && id(ret); }
1313

1414
fn call_id_4() { while id(break) { } }
1515

16+
fn bind_id_1() { bind id(fail); }
17+
18+
fn bind_id_2() { bind id(ret); }
19+
1620
iter put_break() -> int {
1721
while true { put break; }
1822
}

0 commit comments

Comments
 (0)