]> git.saurik.com Git - apple/ld64.git/blob - unit-tests/test-cases/dead_strip-archive-global/foo.c
ld64-97.17.tar.gz
[apple/ld64.git] / unit-tests / test-cases / dead_strip-archive-global / foo.c
1
2 static int foo_count = 0;
3 static int bar_count = 0;
4 static int baz_count = 0;
5
6
7 void foo() { ++foo_count; }
8
9 void bar() { ++bar_count; }
10
11 void __attribute__((visibility("hidden")))
12 baz() { ++baz_count; }