Add some more tests, and fix some existing ones

This commit is contained in:
Rangi42
2024-08-09 22:41:20 -04:00
committed by Sylvie
parent ee3a93a442
commit 7cf4156003
17 changed files with 175 additions and 8 deletions

View File

@@ -0,0 +1,26 @@
SECTION "test", ROM0
MACRO m
ENDM
PURGE m
m
DEF argi EQU 1
MACRO m2
println "(\<argi>)!"
ENDM
PURGE argi
m2 hello
DEF n EQU argi
PRINTLN "({argi})"
Label::
PURGE Label
DEF x = Label
DEF x = BANK(Label)
Label2::
PURGE Label2
DEF x EQUS SECTION(Label2) ; fatal