Skip to content

Commit 78b3a9e

Browse files
committed
Add tests for issue 5017
Issue 5017 was fixed by backporting PR 3857 and PR 4550.
1 parent f44eaae commit 78b3a9e

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

tests/source/issue_5017.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
fn main() {
2+
let number =
3+
// A comment
4+
1;
5+
}

tests/target/issue_5017.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
fn main() {
2+
let number =
3+
// A comment
4+
1;
5+
}

0 commit comments

Comments
 (0)