summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/d/40402-vbraces002.d
blob: c966d1400695778a274a7ef32d9be1d261e31817 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
int super_fun(bool a, bool b, bool c, bool d)
{
	int i = 6;
	static if (true)
		while (true)
			if(b) {
				return 1;
			}
			else if (c) {
				while (true)
					if(d) {
						return 2;
					}
					else{
						while (true)
							if(a)
								return 3;
					}
			}
	while (d)
		return 4;
	return 1;
}