10
test/asm/listing/306-scope-use-before-definition.s
Normal file
10
test/asm/listing/306-scope-use-before-definition.s
Normal file
@@ -0,0 +1,10 @@
|
||||
.scope foo
|
||||
bar = 3
|
||||
.endscope
|
||||
|
||||
.scope outer
|
||||
lda #foo::bar ; Will load 3, not 2!
|
||||
.scope foo
|
||||
bar = 2
|
||||
.endscope
|
||||
.endscope
|
||||
Reference in New Issue
Block a user