mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Fix constant expression detection functions (#1462)
This commit is contained in:
6
test/asm/const-unknown.asm
Normal file
6
test/asm/const-unknown.asm
Normal file
@@ -0,0 +1,6 @@
|
||||
SECTION "test", ROMX
|
||||
; Foo is unknown so none of these should warn
|
||||
assert warn, Foo & $8000
|
||||
assert warn, !Foo
|
||||
assert warn, LOW(Foo)
|
||||
assert warn, !(Foo & LOW(Foo))
|
||||
Reference in New Issue
Block a user