diff --git a/test/asm/duplicate-section.asm b/test/asm/duplicate-section.asm new file mode 100644 index 00000000..2013f832 --- /dev/null +++ b/test/asm/duplicate-section.asm @@ -0,0 +1,4 @@ + +SECTION "sec", ROM0 + +SECTION "sec", ROM0 diff --git a/test/asm/duplicate-section.err b/test/asm/duplicate-section.err new file mode 100644 index 00000000..3d766a39 --- /dev/null +++ b/test/asm/duplicate-section.err @@ -0,0 +1,4 @@ +ERROR: duplicate-section.asm(4): + Section already defined previously +FATAL: duplicate-section.asm(4): + Cannot create section "sec" (1 error) diff --git a/test/asm/duplicate-section.out b/test/asm/duplicate-section.out new file mode 100644 index 00000000..e69de29b