summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/c/00057-brace-remove3.c
blob: 26b22e2cf3e7939b2cfab30c3c278e648a41c834 (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
void foo()
{
	if (myBoolean) {
#ifdef DEBUG
		printf("ACK");
#endif
	}
	return true;
}

void foo2()
{
	if (m_errno == ERR_NONE) {
		function1(variables);
		function2(variables);
	} else {
		function1(varialbes);
	}
	//MyComment1
	//MyComment2
}

void foo3()
{
	if (statment) {
		if (statment) {
			condition;
			return true;
		}
	}
	return false;
}