mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Add tests for explicit definitions of local labels
These check that “Parent.child” may be used in place of “.child”, and that “WrongParent.child” may not be used in the scope of “Parent”.
This commit is contained in:
7
test/asm/remote-local-explicit.asm
Normal file
7
test/asm/remote-local-explicit.asm
Normal file
@@ -0,0 +1,7 @@
|
||||
SECTION "sec", ROM0
|
||||
|
||||
Parent:
|
||||
Parent.child::
|
||||
db 0
|
||||
NotParent:
|
||||
dw Parent.child
|
||||
Reference in New Issue
Block a user