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