aboutsummaryrefslogtreecommitdiffstats
path: root/test/ctxlocal.asm
blob: 93e9fcae4e2e504b69e9d2b9cccb6beb08edcc97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
;;
;; 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