Merge pull request #935 from marcusklaas/issue-770
Add regression test for issue 770
This commit is contained in:
commit
7bda8659ec
1 changed files with 10 additions and 0 deletions
10
tests/target/issue-770.rs
Normal file
10
tests/target/issue-770.rs
Normal 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 {
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue