Loading...
--- /dev/null
+++ dyld/dyld-1066.8/testing/kernel-cache-tests/empty-bundle-dir/foo.c
@@ -0,0 +1,22 @@
+
+
+#include "../kmod.h"
+
+__attribute__((visibility(("hidden"))))
+int startKext() {
+ return 0;
+}
+
+__attribute__((visibility(("hidden"))))
+int endKext() {
+ return 0;
+}
+
+KMOD_EXPLICIT_DECL(com.apple.foo, "1.0.0", (void*)startKext, (void*)endKext)
+
+int g = 0;
+int* gPtr = &g;
+
+int foo() {
+ return *gPtr;
+}