]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/static-executable/test.c
ld64-351.8.tar.gz
[apple/ld64.git] / unit-tests / test-cases / static-executable / test.c
index 27fe88d66b1c5c2ce0758644de85abb9fb9ac758..57b349af1d7813c195882f958d97041f430579a4 100644 (file)
@@ -1,7 +1,10 @@
 
+int a;
+int b = 5;
+
 int foo()
 {
-       return 0;
+       return a+b;
 }
 
 
@@ -9,3 +12,5 @@ int entry()
 {
        return foo();
 }
+
+