mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Add a test case for unattainable SECTION UNION alignment
This test cases used to fail an assertion in `make develop`
This commit is contained in:
3
test/asm/align-unattainable.asm
Normal file
3
test/asm/align-unattainable.asm
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
SECTION UNION "X", WRAM0
|
||||||
|
|
||||||
|
SECTION UNION "X", WRAM0, ALIGN[16]
|
||||||
3
test/asm/align-unattainable.err
Normal file
3
test/asm/align-unattainable.err
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
ERROR: align-unattainable.asm(3):
|
||||||
|
Section "X"'s alignment cannot be attained in WRAM0
|
||||||
|
error: Assembly aborted (1 error)!
|
||||||
0
test/asm/align-unattainable.out
Normal file
0
test/asm/align-unattainable.out
Normal file
Reference in New Issue
Block a user