mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
* Add more tests for RGBASM code coverage * Use C++ unnamed parameters, not `(void)` casting * Fix crash in `sect_AlignPC` from #1253
23 lines
376 B
NASM
23 lines
376 B
NASM
|
|
: ; Outside of section
|
|
|
|
SECTION "Anonymous label errors test", ROM0
|
|
|
|
db :-- ; Reference goes too far back
|
|
|
|
: ; Can't EXPORT or PURGE anonymous labels
|
|
EXPORT :-
|
|
PURGE :-
|
|
|
|
; 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
|