]> git.saurik.com Git - apple/ld64.git/blame - unit-tests/test-cases/llvm-integration/a18.c
ld64-224.1.tar.gz
[apple/ld64.git] / unit-tests / test-cases / llvm-integration / a18.c
CommitLineData
2f2f92e4
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