Add a test for purging a macro while running

This could cause a crash if the macro name is then used for error reporting
This commit is contained in:
ISSOtm
2020-09-24 16:14:18 +02:00
parent ec5a1bc71f
commit 9440086d77
3 changed files with 5 additions and 0 deletions

5
test/asm/macro-purge.asm Normal file
View File

@@ -0,0 +1,5 @@
; Check deleting a macro then using its file stack info
m: MACRO
PURGE m
WARN "Where am I?"
ENDM

0
test/asm/macro-purge.err Normal file
View File

0
test/asm/macro-purge.out Normal file
View File