mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 00:24:03 +00:00
Merge pull request #935 from marcusklaas/issue-770
Add regression test for issue 770
This commit is contained in:
commit
7bda8659ec
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…
Reference in New Issue
Block a user