Skip to content

Commit

Permalink
Add test to cover RGBLINK behavior for patch overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Rangi42 committed Jan 20, 2025
1 parent c2db23a commit 0561904
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/link/patch-overflow.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
section "test", romx
db startof("test")
dw startof("test") * 5
3 changes: 3 additions & 0 deletions test/link/patch-overflow.out
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0561904

Please sign in to comment.