]> git.saurik.com Git - apple/ld64.git/blobdiff - FireOpal/unit-tests/test-cases/lazy-dylib/main.c
ld64-85.2.2.tar.gz
[apple/ld64.git] / FireOpal / unit-tests / test-cases / lazy-dylib / main.c
diff --git a/FireOpal/unit-tests/test-cases/lazy-dylib/main.c b/FireOpal/unit-tests/test-cases/lazy-dylib/main.c
deleted file mode 100644 (file)
index 8546854..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-
-
-extern int foo();
-extern int bar();
-
-int main()
-{
-       // two regular external function calls
-       void* x = malloc(16);
-       free(x);
-       // two lazy dylib external function calls
-       int result = foo();
-       fprintf(stderr, "foo() returned %d\n", result);
-       bar();
-       return 0;
-}