mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
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:
5
test/asm/macro-purge.asm
Normal file
5
test/asm/macro-purge.asm
Normal 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
0
test/asm/macro-purge.err
Normal file
0
test/asm/macro-purge.out
Normal file
0
test/asm/macro-purge.out
Normal file
Reference in New Issue
Block a user