mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Add tests for remote local symbols
This commit is contained in:
7
test/asm/remote-local-noexist.asm
Normal file
7
test/asm/remote-local-noexist.asm
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
SECTION "sec", ROM0
|
||||||
|
|
||||||
|
Parent:
|
||||||
|
.child:
|
||||||
|
db 0
|
||||||
|
NotParent:
|
||||||
|
dw Parent.child.fail
|
||||||
2
test/asm/remote-local-noexist.out
Normal file
2
test/asm/remote-local-noexist.out
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
ERROR: remote-local-noexist.asm(7):
|
||||||
|
'Parent.child.fail' is a nonsensical reference to a nested local symbol
|
||||||
7
test/asm/remote-local.asm
Normal file
7
test/asm/remote-local.asm
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
SECTION "sec", ROM0
|
||||||
|
|
||||||
|
Parent:
|
||||||
|
.child:
|
||||||
|
db 0
|
||||||
|
NotParent:
|
||||||
|
dw Parent.child
|
||||||
0
test/asm/remote-local.out
Normal file
0
test/asm/remote-local.out
Normal file
Reference in New Issue
Block a user