Add more tests for things that only the external tests had covered

This commit is contained in:
Rangi
2025-10-08 13:08:51 -04:00
parent 089fc11e31
commit 711fba5e35
22 changed files with 57 additions and 2 deletions

10
test/asm/const-low.asm Normal file
View File

@@ -0,0 +1,10 @@
section "good", romx, align[8, 1]
Alpha:
static_assert LOW(Alpha) == 1
db 99
Beta:
static_assert LOW(Beta) == 2
section "bad", romx, align[7, 3]
Gamma:
static_assert LOW(Gamma) == 3