]> git.saurik.com Git - apple/dyld.git/blobdiff - testing/test-cases/weak-def-bind-old-format.dtest/foo.c
dyld-750.5.tar.gz
[apple/dyld.git] / testing / test-cases / weak-def-bind-old-format.dtest / foo.c
diff --git a/testing/test-cases/weak-def-bind-old-format.dtest/foo.c b/testing/test-cases/weak-def-bind-old-format.dtest/foo.c
new file mode 100644 (file)
index 0000000..172a9c1
--- /dev/null
@@ -0,0 +1,7 @@
+
+__attribute__((weak))
+int weakTestValue = 1;
+
+int foo() {
+       return weakTestValue;
+}
\ No newline at end of file