mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-24 20:12:07 +00:00
Move a SECTION FRAGMENT test to the test/link/section-fragment folder (#1354)
Add a binary comparison for the same-label SECTION UNION test
This commit is contained in:
7
test/link/section-fragment/good/a.asm
Normal file
7
test/link/section-fragment/good/a.asm
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
SECTION FRAGMENT "output", ROM0
|
||||
X:
|
||||
db X
|
||||
db 1
|
||||
|
||||
assert WARN, X == 0
|
||||
7
test/link/section-fragment/good/b.asm
Normal file
7
test/link/section-fragment/good/b.asm
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
SECTION FRAGMENT "output", ROM0
|
||||
Y:
|
||||
db Y
|
||||
db 3
|
||||
|
||||
assert WARN, Y == 2
|
||||
BIN
test/link/section-fragment/good/ref.out.bin
Normal file
BIN
test/link/section-fragment/good/ref.out.bin
Normal file
Binary file not shown.
Reference in New Issue
Block a user