mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-14 01:25:54 +00:00
4da91e7df2
Extended the test with the new possiblecomment positions
38 lines
598 B
Rust
38 lines
598 B
Rust
fn main() {
|
|
if /* shouldn't be dropped
|
|
shouldn't be dropped */
|
|
|
|
cond /* shouldn't be dropped
|
|
shouldn't be dropped */
|
|
|
|
{
|
|
} /* shouldn't be dropped
|
|
shouldn't be dropped */
|
|
|
|
else /* shouldn't be dropped
|
|
shouldn't be dropped */
|
|
|
|
if /* shouldn't be dropped
|
|
shouldn't be dropped */
|
|
|
|
cond /* shouldn't be dropped
|
|
shouldn't be dropped */
|
|
|
|
{
|
|
} /* shouldn't be dropped
|
|
shouldn't be dropped */
|
|
|
|
else /* shouldn't be dropped
|
|
shouldn't be dropped */
|
|
|
|
{
|
|
}
|
|
|
|
if /* shouldn't be dropped
|
|
shouldn't be dropped */
|
|
let Some(x) = y/* shouldn't be dropped
|
|
shouldn't be dropped */
|
|
{
|
|
}
|
|
}
|