mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-25 12:32:07 +00:00
Add more tests for RGBASM code coverage (#1257)
* Add more tests for RGBASM code coverage * Use C++ unnamed parameters, not `(void)` casting * Fix crash in `sect_AlignPC` from #1253
This commit is contained in:
10
test/asm/character-escapes.asm
Normal file
10
test/asm/character-escapes.asm
Normal file
@@ -0,0 +1,10 @@
|
||||
MACRO m
|
||||
DEF S EQUS \1
|
||||
println "{S}"
|
||||
println \1
|
||||
println "illegal character \
|
||||
escape \z?"
|
||||
println "invalid character \<\n>?"
|
||||
println """invalid character \< >?"""
|
||||
ENDM
|
||||
m "(\n \r \t)"
|
||||
Reference in New Issue
Block a user