summaryrefslogtreecommitdiff
path: root/tests/extern_array.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extern_array.c')
-rw-r--r--tests/extern_array.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/extern_array.c b/tests/extern_array.c
new file mode 100644
index 0000000..c24500f
--- /dev/null
+++ b/tests/extern_array.c
@@ -0,0 +1,6 @@
+extern const int foo[];
+extern void baz(void *);
+
+void bar() {
+ baz((void*)foo);
+}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback