shithub: rgbds

ref: f82edaa7ec6a2b9eed73f2a35819ae9e254cea54
dir: /test/asm/local-purge.asm/

View raw version
; At some point, the name of the local label was passed *unexpanded* to the
; function doing the removal. Ensure that this is fixed.

SECTION "Test", ROM0[0]
Glob:
.loc
	PURGE .loc
	PRINTT "{.loc}\n" ; This should fail because the label doesn't exist anymore