Add test case for local labels after block-ending keywords

This commit is contained in:
Rangi42
2026-04-27 15:04:12 +02:00
parent eeb3a73210
commit 3f144b7713
3 changed files with 36 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
section "test", ROM0
Global:
if 0
println "no"
endc.local_no
if 1
println "yes"
endc.local_yes
rept 0
println "nope"
endr.local_nope
rept 1
println "yep"
endr.local_yep
macro mac
println "mac"
endm.local_mac
mac