]> git.saurik.com Git - apple/ld64.git/blame - unit-tests/test-cases/exported_symbols_list-r/test.c
ld64-409.12.tar.gz
[apple/ld64.git] / unit-tests / test-cases / exported_symbols_list-r / test.c
CommitLineData
a61fdf0a
A
1
2
3
4static int data_static1 = 1;
5static int data_static2 = 2;
6
7void func_global1() { ++data_static1; }
8void func_global2() { ++data_static2; }
9
10void __attribute__((visibility("hidden"))) func_hidden1() {}
11void __attribute__((visibility("hidden"))) func_hidden2() {}
12
13int common_global1;
14int common_global2;
15
16int __attribute__((visibility("hidden"))) common_hidden1;
17int __attribute__((visibility("hidden"))) common_hidden2;
18