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