Files
rgbds/test/link/section-union/no-room.asm
ISSOtm 4877bb783c Add more tests for unionized sections + fix bugs
Implementing those tests found a few bugs... oops
2020-03-22 11:14:04 +01:00

13 lines
282 B
NASM

; NB: the error is that there is no room to place the unionized section in,
; so RGBASM can't possibly error out.
IF !DEF(SECOND)
SECTION "bloat", WRAMX[$d000], BANK[2]
ds $fe0
SECTION UNION "test", WRAMX, BANK[2]
db
ELSE
SECTION UNION "test", WRAMX, ALIGN[6]
db
ENDC