mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-23 03:22:08 +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:
11
test/asm/union-in-union.asm
Normal file
11
test/asm/union-in-union.asm
Normal file
@@ -0,0 +1,11 @@
|
||||
SECTION "test", WRAM0
|
||||
UNION
|
||||
UNION
|
||||
db
|
||||
NEXTU
|
||||
dw
|
||||
ENDU
|
||||
NEXTU
|
||||
dl
|
||||
ENDU
|
||||
assert sizeof("test") == 4
|
||||
Reference in New Issue
Block a user