]> git.saurik.com Git - apple/dyld.git/blobdiff - unit-tests/test-cases/upward-dylib-init-order/main.c
dyld-210.2.3.tar.gz
[apple/dyld.git] / unit-tests / test-cases / upward-dylib-init-order / main.c
diff --git a/unit-tests/test-cases/upward-dylib-init-order/main.c b/unit-tests/test-cases/upward-dylib-init-order/main.c
new file mode 100644 (file)
index 0000000..e7edc55
--- /dev/null
@@ -0,0 +1,19 @@
+#include <stdio.h>  // fprintf(), NULL
+#include <stdlib.h> // exit(), EXIT_SUCCESS
+
+#include "test.h" // PASS(), FAIL(), XPASS(), XFAIL()
+
+
+#include "common.h"
+
+int main()
+{
+       if ( ok() )
+               PASS("upward-dylib-init-order");
+       else
+               FAIL("upward-dylib-init-order");
+        
+       return EXIT_SUCCESS;
+}
+
+