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