]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/read-only-relocs/test.c
ld64-409.12.tar.gz
[apple/ld64.git] / unit-tests / test-cases / read-only-relocs / test.c
index f5be7e338cdfd48dc485743fd96dddebe487528e..f3484e277b552dd1dc19eca8379d4524e60bba17 100644 (file)
  */
 
 int a=0; 
+extern int b;
+extern void func();
 
-int foo(void
+int main(
 { 
-       return a; 
+       func();
+       return a+b; 
 }
+