rust/tests/source/issue-4018.rs
hafiz 6a7824787e Preserve comments in empty statements (#4180)
* Preserve comments in empty statements

Closes #4018

* fixup! Preserve comments in empty statements
2020-10-24 11:13:00 -05:00

14 lines
171 B
Rust

fn main() {
;
/* extra comment */ ;
}
fn main() {
println!("");
// comment 1
// comment 2
// comment 3
// comment 4
;
}