shithub: rgbds

ref: b7fe78cad8a951aa08c3133478da175eb377e2fd
dir: /test/asm/anon-label-bad.asm/

View raw version

: ; Outside of section

SECTION "Anonymous label errors test", ROM0

	db :-- ; Reference goes too far back

; Uncomment this if you're a badass with a *lot* of RAM
; REPT 2147483647
; :
; ENDR
; REPT 2147483647
; :
; ENDR
; 	db :+ ; OK
; 	db :++ ; Reference goes too far

:: ; Syntax error, can't export this