Merge pull request #935 from marcusklaas/issue-770

Add regression test for issue 770
This commit is contained in:
Nick Cameron 2016-04-15 08:13:26 +12:00
commit 7bda8659ec

10
tests/target/issue-770.rs Normal file
View File

@ -0,0 +1,10 @@
fn main() {
if false {
if false {
} else {
// A let binding here seems necessary to trigger it.
let _ = ();
}
} else if let false = false {
}
}