summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/cpp/func_param.cpp
blob: 24b187c194269d91b6cb094daef2b9ec44b51dd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
typedef short (* hello1) (char         coolParam,
               ushort *,
               unsigned int anotherone);

short (* hello2)(char         coolParam,
               ulong *,
	uchar,
               unsigned int anotherone);

short hello3 (char         coolParam,
               ushort *,
               unsigned int anotherone);

void x (custom_t * e, void (*funcptr) );
void x (custom_t * e, void (*funcptr)[] );
void x (custom_t * e, void (*funcptr)(int, int) );
void x (custom_t * e, void (*funcptr)(int, int)[] );