ref: 39c38f98387c3b8ad0a285c8cb5948f101d37ce3
parent: 576b063519f1b0ca8b60471314e376dea6fda73f
author: Rangi <[email protected]>
date: Wed Mar 31 12:09:52 EDT 2021
Add a test case for unattainable SECTION UNION alignment This test cases used to fail an assertion in `make develop`
--- /dev/null
+++ b/test/asm/align-unattainable.asm
@@ -1,0 +1,3 @@
+SECTION UNION "X", WRAM0
+
+SECTION UNION "X", WRAM0, ALIGN[16]
--- /dev/null
+++ b/test/asm/align-unattainable.err
@@ -1,0 +1,3 @@
+ERROR: align-unattainable.asm(3):
+ Section "X"'s alignment cannot be attained in WRAM0
+error: Assembly aborted (1 error)!