summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/00056-brace-remove3.c
blob: 258ca555ccae3d663daa6aaa40efded28716eb3a (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
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;
}