mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Add test to cover RGBLINK behavior for patch overflow
This commit is contained in:
3
test/link/patch-overflow.asm
Normal file
3
test/link/patch-overflow.asm
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
section "test", romx
|
||||||
|
db startof("test")
|
||||||
|
dw startof("test") * 5
|
||||||
3
test/link/patch-overflow.out
Normal file
3
test/link/patch-overflow.out
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
error: patch-overflow.asm(3): Value 81920 is not 16-bit
|
||||||
|
error: patch-overflow.asm(2): Value 16384 is not 8-bit
|
||||||
|
Linking failed with 2 errors
|
||||||
Reference in New Issue
Block a user