Skip to content

Commit

Permalink
Test for #973
Browse files Browse the repository at this point in the history
  • Loading branch information
jruderman committed Sep 26, 2011
1 parent 60ec49b commit 7389835
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test/run-pass/unreachable-code.rs
Expand Up @@ -13,6 +13,10 @@ fn call_id_3() { id(ret) && id(ret); }

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

fn bind_id_1() { bind id(fail); }

fn bind_id_2() { bind id(ret); }

iter put_break() -> int {
while true { put break; }
}
Expand Down

0 comments on commit 7389835

Please sign in to comment.