aboutsummaryrefslogtreecommitdiffstats
path: root/lua/tests/indent/c/array.c
diff options
context:
space:
mode:
Diffstat (limited to 'lua/tests/indent/c/array.c')
-rw-r--r--lua/tests/indent/c/array.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/lua/tests/indent/c/array.c b/lua/tests/indent/c/array.c
new file mode 100644
index 000000000..5bb67c2c8
--- /dev/null
+++ b/lua/tests/indent/c/array.c
@@ -0,0 +1,14 @@
+int x[] = {
+ 1, 2, 3,
+ 4, 5,
+ 6
+};
+
+int y[][2] = {
+ {0, 1},
+ {1, 2},
+ {
+ 2,
+ 3
+ },
+};