ref: cc1129093d87b47e9d0a30146f9a0c78a96774e4
parent: 72911ada2d254c08181b12d63016976e76f54eb4
author: dannye <33dannye@gmail.com>
date: Sun Feb 21 18:28:42 EST 2021
Add duplicate-section test
--- /dev/null
+++ b/test/asm/duplicate-section.asm
@@ -1,0 +1,4 @@
+
+SECTION "sec", ROM0
+
+SECTION "sec", ROM0
--- /dev/null
+++ b/test/asm/duplicate-section.err
@@ -1,0 +1,4 @@
+ERROR: duplicate-section.asm(4):
+ Section already defined previously
+FATAL: duplicate-section.asm(4):
+ Cannot create section "sec" (1 error)