mirror of
https://github.com/gbdev/rgbds.git
synced 2025-12-02 15:57:48 +00:00
18
test/asm/anon-label-bad.asm
Normal file
18
test/asm/anon-label-bad.asm
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
: ; Outside of section
|
||||
|
||||
SECTION "Anonymous label errors test", ROM0
|
||||
|
||||
db :-- ; Reference goes too far back
|
||||
|
||||
; Uncomment this if you're a badass with a *lot* of RAM
|
||||
; REPT 2147483647
|
||||
; :
|
||||
; ENDR
|
||||
; REPT 2147483647
|
||||
; :
|
||||
; ENDR
|
||||
; db :+ ; OK
|
||||
; db :++ ; Reference goes too far
|
||||
|
||||
:: ; Syntax error, can't export this
|
||||
Reference in New Issue
Block a user