shithub: rgbds

ref: 4ed5ba750885b303bc31e17d48eb0e055bd88423
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