X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/9d2e0767a8f401be0067937f63a08b1c4f79297d..55e3d2f687f4ed9653982dbda92c6a055b0a8350:/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 index 0000000..96a8a33 --- /dev/null +++ b/unit-tests/test-cases/thumb-pointer/foo.c @@ -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] };