mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Add more tests for unionized sections + fix bugs
Implementing those tests found a few bugs... oops
This commit is contained in:
10
test/link/section-union/split-data.asm
Normal file
10
test/link/section-union/split-data.asm
Normal file
@@ -0,0 +1,10 @@
|
||||
IF !DEF(SECOND)
|
||||
DATA equs "ds 1\ndb $aa"
|
||||
ELSE
|
||||
DATA equs "db $bb\nds 1"
|
||||
ENDC
|
||||
|
||||
SECTION UNION "mutually-overlaid data", ROM0
|
||||
DATA
|
||||
|
||||
PURGE DATA
|
||||
Reference in New Issue
Block a user