summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/cpp/func_param.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/cpp/func_param.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/cpp/func_param.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/cpp/func_param.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/cpp/func_param.cpp
new file mode 100644
index 00000000..24b187c1
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/cpp/func_param.cpp
@@ -0,0 +1,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)[] );
+