aboutsummaryrefslogtreecommitdiff
path: root/tests/conditionally_include.s
blob: 67ef7d2d287b6d036d4a6e48b33046fcdbfe2505 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.segment "HEADER"
    .byte 'N', 'E', 'S', $1A
    .byte $02, $01
    .byte $00
    .byte $00

.segment "CODE"

;;; asan:stack full

.ifdef DEBUG
    .include "code_to_include.s"
    jsr foo
.else
    nop
.endif