diff --git a/tests/source/expr.rs b/tests/source/expr.rs index bf9a8359aad..083715dc8e7 100644 --- a/tests/source/expr.rs +++ b/tests/source/expr.rs @@ -121,3 +121,11 @@ fn issue227() { let handler = box DocumentProgressHandler::new(addr, DocumentProgressTask::DOMContentLoaded); } } + +fn issue184(source: &str) { + for c in source.chars() { + if index < 'a' { + continue; + } + } +} diff --git a/tests/target/expr.rs b/tests/target/expr.rs index d24d463c2c2..9017fd8bee0 100644 --- a/tests/target/expr.rs +++ b/tests/target/expr.rs @@ -158,3 +158,11 @@ fn issue227() { DocumentProgressTask::DOMContentLoaded); } } + +fn issue184(source: &str) { + for c in source.chars() { + if index < 'a' { + continue; + } + } +}