aboutsummaryrefslogtreecommitdiff
path: root/tests/unused.s
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unused.s')
-rw-r--r--tests/unused.s16
1 files changed, 15 insertions, 1 deletions
diff --git a/tests/unused.s b/tests/unused.s
index 938794d..2f0bb32 100644
--- a/tests/unused.s
+++ b/tests/unused.s
@@ -7,9 +7,23 @@
.segment "CODE"
+;;; Macros
+
+.macro USED_MACRO UNUSED_ARG
+ nop
+.endmacro
+
+.macro UNUSED_MACRO ARG1
+ lda ARG1
+.endmacro
+
+USED_MACRO 1
+
+;;; Variables
+
zp_unused = $00
zp_used = $01
-zp_another = $02 ; asan:ignore
+zp_another = $02 ; check:ignore
zp_more = $03
zp_yet = $04