mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-24 03:52:08 +00:00
Ensure that INCBIN parameters are non-negative
This commit is contained in:
3
test/asm/incbin-negative-bad.asm
Normal file
3
test/asm/incbin-negative-bad.asm
Normal file
@@ -0,0 +1,3 @@
|
||||
SECTION "Bad", ROM0
|
||||
|
||||
INCBIN "data.bin", -42
|
||||
2
test/asm/incbin-negative-bad.err
Normal file
2
test/asm/incbin-negative-bad.err
Normal file
@@ -0,0 +1,2 @@
|
||||
FATAL: incbin-negative-bad.asm(3):
|
||||
Constant must not be negative: -42
|
||||
Reference in New Issue
Block a user