Add tests for 3245 and 3561

Closes 3245
Closes 3561

These issues were originally linked in issue 3672 and as was mentioned
in PR 3706, it's unclear which commit resolved the issue but the issue
can no longer be reproduced.
This commit is contained in:
Yacin Tmimi 2022-07-19 18:47:03 -04:00 committed by Caleb Cartwright
parent f2c31ba04d
commit 4c78c738ba
4 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,4 @@
fn main() {
let x = 1;
;let y = 3;
}

View File

@ -0,0 +1,6 @@
fn main() {;7
}
fn main() {
;7
}

View File

@ -0,0 +1,4 @@
fn main() {
let x = 1;
let y = 3;
}

View File

@ -0,0 +1,7 @@
fn main() {
7
}
fn main() {
7
}