Increase parser test coverage

This commit is contained in:
Rangi42
2025-07-20 13:37:43 -04:00
parent 9e0e7ef9a1
commit 89ca6a325c
10 changed files with 15 additions and 5 deletions

View File

@@ -3,10 +3,10 @@ SECTION "fixed", ROM0[0]
FixedBase:
assert FixedBase ; This should eval (and fail) at compile time
ds 0
static_assert @ == 0, "@ ain't 0 now? (Hint: it's {@})"
ds 1
static_assert @ - FixedBase == 0, "@ ain't 0 now? (Hint: it's {@})"
ds 42
ds 41
assert WARN, @ - FixedBase != 42 ; This should also eval at compile time
SECTION "floating", ROM0