summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/30938-indent_switch_pp.cpp
blob: dd910c560de9888d42deb68ba5b75193206232de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Example for not indenting preprocesser statements inside switch statements
switch(...)
{
case 1:
case 2:
{
	int v;
	...
}
break;

#if (USE_FIVE)
case 3:
	doFive();
	break;
#endif

default:
	break;
}