aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/bad_jal.s2
-rw-r--r--tests/delayed_macro_arguments.s2
-rw-r--r--tests/fallthrough.s3
3 files changed, 7 insertions, 0 deletions
diff --git a/tests/bad_jal.s b/tests/bad_jal.s
index 5fa2316..ddbb716 100644
--- a/tests/bad_jal.s
+++ b/tests/bad_jal.s
@@ -17,4 +17,6 @@
rts
.endproc
+jsr foo
+
;;; asan:stack full
diff --git a/tests/delayed_macro_arguments.s b/tests/delayed_macro_arguments.s
index acd3910..2c34d8c 100644
--- a/tests/delayed_macro_arguments.s
+++ b/tests/delayed_macro_arguments.s
@@ -38,6 +38,8 @@
inx
.endmacro
+__fallthrough__ Explosions::init
+
.scope Explosions
.proc init
@loop:
diff --git a/tests/fallthrough.s b/tests/fallthrough.s
index 878b5e4..f24bf1a 100644
--- a/tests/fallthrough.s
+++ b/tests/fallthrough.s
@@ -6,6 +6,8 @@
.segment "CODE"
+__fallthrough__ foo
+
.proc foo
lda #0
__fallthrough__ bar
@@ -20,6 +22,7 @@ __fallthrough__ bar
.proc other
rts
+ __fallthrough__ Scope::foo
.endproc
.scope Scope