]>
git.saurik.com Git - apple/ld64.git/blame_incremental - unit-tests/test-cases/static-executable-pie/test.c
... / ...
Commit | Line | Data |
| 1 | |
| 2 | int a; |
| 3 | int b = 5; |
| 4 | int* pa = &a; |
| 5 | int* pb = &b; |
| 6 | |
| 7 | int foo() |
| 8 | { |
| 9 | *pa = 4; |
| 10 | return a+b; |
| 11 | } |
| 12 | |
| 13 | |
| 14 | int entry() |
| 15 | { |
| 16 | return foo(); |
| 17 | } |
| 18 | |
| 19 | |