summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/c/10060-Issue_3548.c
blob: 71824adcd95fac898bc672524157c770ea2dcaa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
bool is_inside(int num)
{
	bool inside;

	inside = num >= 3
	   && num <= 10;

	return num <= 3
	   && num >= 10;
}

bool is_outside(int num)
{
	bool outside;

	outside = num < 3
	   || num > 10;

	return num < 3
	   || num > 10;
}