summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/cpp/pp_indent_extern.cpp
blob: 76cfc4bf80d6f490d3d461b40d3666230ba0777b (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