ref: 03629b74d9161aec138e1dfa49cded792bf344a9
parent: b069278e98b19e367b78c8dc4f16ea48edfd6213
author: Jakub Kądziołka <[email protected]>
date: Thu Aug 29 15:14:02 EDT 2019
Add a test for a defining local label without a parent
--- /dev/null
+++ b/test/asm/local-without-parent.asm
@@ -1,0 +1,2 @@
+SECTION "Test", ROM0
+.test:
--- /dev/null
+++ b/test/asm/local-without-parent.out
@@ -1,0 +1,2 @@
+ERROR: local-without-parent.asm(2):
+ Local label in main scope
--- /dev/null
+++ b/test/asm/local-without-parent.out.pipe
@@ -1,0 +1,2 @@
+ERROR: -(2):
+ Local label in main scope