shithub: rgbds

Download patch

ref: 3a1b47129ef80e6344e90303bae55f53b57b6e74
parent: 6ffa751090c7c8db55fbf3cb0f7a28e90f558a56
parent: 03629b74d9161aec138e1dfa49cded792bf344a9
author: Eldred Habert <[email protected]>
date: Thu Aug 29 16:24:36 EDT 2019

Merge pull request #397 from NieDzejkob/test-local-without-parent

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