summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cpp/indent_switch_pp.cpp
blob: 1b76e218b368761c8bbcd42e7965e7dcbde97b1d (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;
}