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:
Rangi
2021-03-31 16:09:52 -04:00
parent 576b063519
commit 39c38f9838
3 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
SECTION UNION "X", WRAM0
SECTION UNION "X", WRAM0, ALIGN[16]

View File

@@ -0,0 +1,3 @@
ERROR: align-unattainable.asm(3):
Section "X"'s alignment cannot be attained in WRAM0
error: Assembly aborted (1 error)!

View File