summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/expected/cpp/30824-pp_indent_extern.cpp
blob: 995db611da6ddb6d340c1210cbd0bbfe5290f5d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Example for extern "C" blocks inside preprocessor statements
// Config uses more than tested option, uses:
// pp_if_indent_code  = true	  to enable preprocesser indent
// pp_indent_extern	  = false	  to override preprocessor indent for braces
int x = 1;
#ifdef __cplusplus
extern "C" {

void some_c_function
(
	void
);
}
#endif