mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-24 20:12:07 +00:00
Increase parser test coverage
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user