mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-23 11:32:07 +00:00
@@ -1,2 +1,6 @@
|
||||
FATAL: `SECTION UNION` cannot contain fragment literals
|
||||
error: Cannot declare ROM sections as `UNION`
|
||||
at fragment-literal-in-union.asm(1)
|
||||
error: Cannot output data outside of a `SECTION`
|
||||
at fragment-literal-in-union.asm(2)
|
||||
FATAL: Cannot output fragment literals outside of a `SECTION`
|
||||
at fragment-literal-in-union.asm(3)
|
||||
|
||||
2
test/asm/section-union-data.asm
Normal file
2
test/asm/section-union-data.asm
Normal file
@@ -0,0 +1,2 @@
|
||||
SECTION UNION "wat", ROM0
|
||||
db 42
|
||||
5
test/asm/section-union-data.err
Normal file
5
test/asm/section-union-data.err
Normal file
@@ -0,0 +1,5 @@
|
||||
error: Cannot declare ROM sections as `UNION`
|
||||
at section-union-data.asm(1)
|
||||
error: Cannot output data outside of a `SECTION`
|
||||
at section-union-data.asm(2)
|
||||
Assembly aborted with 2 errors!
|
||||
Reference in New Issue
Block a user