ref: 2e60c4dd2e980982f993822ba65c7df10e548239
parent: ce8a13a5625ee27d027a6d949c37ee6fb367278d
author: Sanqui <[email protected]>
date: Sun May 21 07:22:20 EDT 2017
Add tests for remote local symbols
--- /dev/null
+++ b/test/asm/remote-local-noexist.asm
@@ -1,0 +1,7 @@
+SECTION "sec", ROM0
+
+Parent:
+.child:
+ db 0
+NotParent:
+ dw Parent.child.fail
--- /dev/null
+++ b/test/asm/remote-local-noexist.out
@@ -1,0 +1,2 @@
+ERROR: remote-local-noexist.asm(7):
+ 'Parent.child.fail' is a nonsensical reference to a nested local symbol
--- /dev/null
+++ b/test/asm/remote-local.asm
@@ -1,0 +1,7 @@
+SECTION "sec", ROM0
+
+Parent:
+.child:
+ db 0
+NotParent:
+ dw Parent.child