summaryrefslogtreecommitdiff
path: root/tests/local_const_array.c
diff options
context:
space:
mode:
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