]> git.proxmox.com Git - rustc.git/blame - src/tools/rustfmt/tests/source/issue-447.rs
bump version to 1.80.1+dfsg1-1~bpo12+pve1
[rustc.git] / src / tools / rustfmt / tests / source / issue-447.rs
CommitLineData
f20569fa
XL
1// rustfmt-normalize_comments: true
2
3fn main() {
4 if /* shouldn't be dropped
5 shouldn't be dropped */
6
7 cond /* shouldn't be dropped
8 shouldn't be dropped */
9
10 {
11 } /* shouldn't be dropped
12 shouldn't be dropped */
13
14 else /* shouldn't be dropped
15 shouldn't be dropped */
16
17 if /* shouldn't be dropped
18 shouldn't be dropped */
19
20 cond /* shouldn't be dropped
21 shouldn't be dropped */
22
23 {
24 } /* shouldn't be dropped
25 shouldn't be dropped */
26
27 else /* shouldn't be dropped
28 shouldn't be dropped */
29
30 {
31 }
32
33 if /* shouldn't be dropped
34 shouldn't be dropped */
35 let Some(x) = y/* shouldn't be dropped
36 shouldn't be dropped */
37 {
38 }
39}