travis/test/ctxlocal.asm
raw| 1 | ;; |
| 2 | ;; Test of context-local labels |
| 3 | ;; |
| 4 | |
| 5 | bits 64 |
| 6 | extern everywhere ; Test of extern -> global promotion, too |
| 7 | extern tjosan |
| 8 | here: |
| 9 | jz .there |
| 10 | %push foo |
| 11 | jo %$mordor |
| 12 | hlt |
| 13 | %$mordor: |
| 14 | nop |
| 15 | %pop |
| 16 | .there: |
| 17 | ret |
| 18 | |
| 19 | everywhere: |
| 20 | ret |
| 21 | |
| 22 | global everywhere |
| 23 | |
| 24 | tjosan: |
| 25 | ret |