]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/weak-force/foo.c
ld64-123.2.tar.gz
[apple/ld64.git] / unit-tests / test-cases / weak-force / foo.c
diff --git a/unit-tests/test-cases/weak-force/foo.c b/unit-tests/test-cases/weak-force/foo.c
new file mode 100644 (file)
index 0000000..baa5755
--- /dev/null
@@ -0,0 +1,17 @@
+
+
+void foo1() {}
+void foo3() {}
+
+
+__attribute__((weak)) void foo2() {}
+__attribute__((weak)) void foo4() {}
+
+
+void wildcheck() {}
+void willnot() {}
+
+
+
+__attribute__((weak)) void patterncheck() {}
+__attribute__((weak)) void patnot() {}