nasm/travis/test/ctxlocal.asm
Cyrill Gorcunov e715b61509 travis: add ctxlocal
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-10-15 00:14:59 +03:00

26 lines
254 B
NASM

;;
;; Test of context-local labels
;;
bits 64
extern everywhere ; Test of extern -> global promotion, too
extern tjosan
here:
jz .there
%push foo
jo %$mordor
hlt
%$mordor:
nop
%pop
.there:
ret
everywhere:
ret
global everywhere
tjosan:
ret