]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/thumb-pointer/foo.c
ld64-95.2.12.tar.gz
[apple/ld64.git] / unit-tests / test-cases / thumb-pointer / foo.c
diff --git a/unit-tests/test-cases/thumb-pointer/foo.c b/unit-tests/test-cases/thumb-pointer/foo.c
new file mode 100644 (file)
index 0000000..96a8a33
--- /dev/null
@@ -0,0 +1,14 @@
+
+
+extern void bar1();
+extern void bar2();
+extern char  bar_array[];
+
+void foo1() {}
+void foo2() {}
+char foo_array[3] = { 1,2,3 };
+
+
+
+void* foostuff[] = { &foo1, &foo2, foo_array, &foo_array[3] };
+void* barstuff[] = { &bar1, &bar2, bar_array, &bar_array[3] };