mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-25 12:32:07 +00:00
Add more test coverage for RGBASM (#1256)
This also fixes two bugs: `-1 >>> 32` was -1 not 0, and `macro_FreeArgs` should have been called but wasn't.
This commit is contained in:
16
test/asm/def-scoped.asm
Normal file
16
test/asm/def-scoped.asm
Normal file
@@ -0,0 +1,16 @@
|
||||
SECTION "test", ROM0
|
||||
|
||||
; this is okay...
|
||||
Label:
|
||||
Label.local:
|
||||
|
||||
; ...but these are not
|
||||
|
||||
DEF n EQU 1
|
||||
DEF n.local EQU 2
|
||||
|
||||
DEF x = 1
|
||||
DEF x.local = 2
|
||||
|
||||
DEF s EQUS "..."
|
||||
DEF s.local EQUS "..."
|
||||
Reference in New Issue
Block a user