summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/source/issue-447.rs
blob: 7c542cb58c2d46700ace18f4db81cd95a04a4413 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// rustfmt-normalize_comments: true

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 */
	{
	}
}