summaryrefslogtreecommitdiff
path: root/tests/local_const_array.c
diff options
context:
space:
mode:
authorMatthew Sotoudeh <matthew@masot.net>2023-07-25 14:58:33 -0700
committerMatthew Sotoudeh <matthew@masot.net>2023-07-25 14:58:33 -0700
commit1d943da0cf9154e7ce78ce867cdbb91531c5d78e (patch)
tree40c5c6c3ba7fafa6567aa5b5aa216caecf3935fc /tests/local_const_array.c
initial dietc commit
Diffstat (limited to 'tests/local_const_array.c')
-rw-r--r--tests/local_const_array.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/local_const_array.c b/tests/local_const_array.c
new file mode 100644
index 0000000..38de887
--- /dev/null
+++ b/tests/local_const_array.c
@@ -0,0 +1,4 @@
+int lookup_arr(int i) {
+ int arr[1] = {1};
+ return arr[i];
+}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback