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