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:
Sylvie
2024-03-13 15:34:27 -04:00
committed by GitHub
parent a1bbb3b3f7
commit 658286c8e4
7 changed files with 17 additions and 10 deletions

View File

@@ -1,7 +0,0 @@
SECTION FRAGMENT "output", ROM0
X:
db X
db 1
assert WARN, X == 0

View File

@@ -1,7 +0,0 @@
SECTION FRAGMENT "output", ROM0
Y:
db Y
db 3
assert WARN, Y == 2

View File

@@ -3,3 +3,6 @@ Same:
ds 1
Foo:
ds 2
SECTION "a", ROM0
dw Same, Foo ; $c000, $c001

View File

@@ -3,3 +3,6 @@ Same:
ds 2
Bar:
ds 1
SECTION "b", ROM0
dw Same, Bar ; $c000, $c002

Binary file not shown.