summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/30821-pp_indent_case.cpp
blob: 70b1b9c7f834709fe0aa57db23135820bb362644 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Example for case in a preprocesser statement
// Config uses more than tested option, uses:
// pp_if_indent_code  = true	  to enable preprocesser indent
// pp_indent_case	  = false	  to override preprocessor indent for case blocks
switch(...)
{
case 1:
case 2:
{
	int v;
	...
}
break;

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

default:
	break;
}