X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/07feaf2cb00322d025073eb8ec22189ada5e4180..a645023da60d22e86be13f7b4d97adeff8bc6665:/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 index 0000000..baa5755 --- /dev/null +++ b/unit-tests/test-cases/weak-force/foo.c @@ -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() {}