shithub: rgbds

ref: 35e57a55c92e5b4ac9708b09d0d9064b7a0f11e5
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