aboutsummaryrefslogtreecommitdiff
path: root/tests/fallthrough.s
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-04-24 22:49:38 +0200
committerMiquel Sabaté Solà <mssola@mssola.com>2026-04-24 22:50:28 +0200
commit948228f0e250d191a97359e97faa6ee4934e9e7a (patch)
tree85f74f59663bd5d94dd56ce9659fb327069b308e /tests/fallthrough.s
parent1410c98545d00c8508a715a566cf8e3e4e424773 (diff)
downloadtools.nes-948228f0e250d191a97359e97faa6ee4934e9e7a.tar.gz
tools.nes-948228f0e250d191a97359e97faa6ee4934e9e7a.zip
Allow scoped names in __fallthrough__
Fixes 4f1a9c660108 ("Add the .fallthrough control statement") Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'tests/fallthrough.s')
-rw-r--r--tests/fallthrough.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/fallthrough.s b/tests/fallthrough.s
index 2243415..878b5e4 100644
--- a/tests/fallthrough.s
+++ b/tests/fallthrough.s
@@ -22,4 +22,14 @@ __fallthrough__ bar
rts
.endproc
+.scope Scope
+ .proc foo
+ __fallthrough__ Scope::bar
+ .endproc
+
+ .proc bar
+ rts
+ .endproc
+.endscope
+
;;; asan:stack full