summaryrefslogtreecommitdiff
path: root/tests/unsized_extern_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/unsized_extern_array.c
initial dietc commit
Diffstat (limited to 'tests/unsized_extern_array.c')
-rw-r--r--tests/unsized_extern_array.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unsized_extern_array.c b/tests/unsized_extern_array.c
new file mode 100644
index 0000000..112a590
--- /dev/null
+++ b/tests/unsized_extern_array.c
@@ -0,0 +1,4 @@
+extern const unsigned int arr[];
+int lookup_arr(int i) {
+ return arr[i];
+}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback