aboutsummaryrefslogtreecommitdiffstats
path: root/lua/tests/indent/c/func.c
diff options
context:
space:
mode:
Diffstat (limited to 'lua/tests/indent/c/func.c')
-rw-r--r--lua/tests/indent/c/func.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/lua/tests/indent/c/func.c b/lua/tests/indent/c/func.c
new file mode 100644
index 000000000..c188acc01
--- /dev/null
+++ b/lua/tests/indent/c/func.c
@@ -0,0 +1,33 @@
+int f1(int x) {
+ return 1;
+}
+
+int f2(int x)
+{
+ return 1;
+}
+
+int f3(
+ int x
+) {
+ return 1;
+}
+
+int f4(
+ int x,
+ int y
+) {
+ return 1;
+}
+
+int f5(int x,
+ int y)
+{
+ return 1;
+}
+
+int
+f6(int x, int y)
+{
+ return 1;
+}