summaryrefslogtreecommitdiff
path: root/tests/indent/c/array.c
diff options
context:
space:
mode:
authorJędrzej Boczar <yendreij@gmail.com>2021-04-22 20:53:30 +0200
committerKiyan <yazdani.kiyan@protonmail.com>2021-04-23 21:21:38 +0200
commit63a88c873f3643aad9208488765dc53618edd40e (patch)
treefb233a54b0dae8a6af1a12dfecb9cd85cbdb4f64 /tests/indent/c/array.c
parentd4e8d3e6597578c14dd846762c57308f36ccacb5 (diff)
move all tests to top-level tests/ directory
Diffstat (limited to 'tests/indent/c/array.c')
-rw-r--r--tests/indent/c/array.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/indent/c/array.c b/tests/indent/c/array.c
new file mode 100644
index 00000000..5bb67c2c
--- /dev/null
+++ b/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
+ },
+};