]> git.saurik.com Git - apple/ld64.git/blob - unit-tests/test-cases/branch-long/foo.c
ld64-409.12.tar.gz
[apple/ld64.git] / unit-tests / test-cases / branch-long / foo.c
1
2 int x = 1;
3 int y = 2;
4
5 __attribute__((weak))
6 void myweak1()
7 {
8 }
9
10 int foo()
11 {
12 myweak1();
13 return 1;
14 }
15
16 int foo1()
17 {
18 return x;
19 }
20
21 int foo2()
22 {
23 return y;
24 }
25