X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/d696c285d331ab577dcabd00419d8c30336673da..e456bf1059cf7e6b8b71545d1b2f2092b55a9684:/unit-tests/test-cases/read-only-relocs/test.c?ds=sidebyside diff --git a/unit-tests/test-cases/read-only-relocs/test.c b/unit-tests/test-cases/read-only-relocs/test.c index f5be7e3..f3484e2 100644 --- a/unit-tests/test-cases/read-only-relocs/test.c +++ b/unit-tests/test-cases/read-only-relocs/test.c @@ -23,8 +23,12 @@ */ int a=0; +extern int b; +extern void func(); -int foo(void) +int main() { - return a; + func(); + return a+b; } +