summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/pp_indent_case.cpp
blob: da61641a075bd9c2e4cddf3e0957c71c03b1bc5d (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;
}