diff --git a/test/asm/local-wrong-parent.asm b/test/asm/local-wrong-parent.asm new file mode 100644 index 00000000..5cc3660a --- /dev/null +++ b/test/asm/local-wrong-parent.asm @@ -0,0 +1,6 @@ +SECTION "sec", ROM0 + +Parent: + db 0 +WrongParent.child + db 0 diff --git a/test/asm/local-wrong-parent.out b/test/asm/local-wrong-parent.out new file mode 100644 index 00000000..96d34a4d --- /dev/null +++ b/test/asm/local-wrong-parent.out @@ -0,0 +1,3 @@ +ERROR: local-wrong-parent.asm(5): + Not currently in the scope of 'WrongParent' +error: Assembly aborted in pass 1 (1 errors)! diff --git a/test/asm/remote-local-explicit.asm b/test/asm/remote-local-explicit.asm new file mode 100644 index 00000000..3a5c1637 --- /dev/null +++ b/test/asm/remote-local-explicit.asm @@ -0,0 +1,7 @@ +SECTION "sec", ROM0 + +Parent: +Parent.child:: + db 0 +NotParent: + dw Parent.child diff --git a/test/asm/remote-local-explicit.out b/test/asm/remote-local-explicit.out new file mode 100644 index 00000000..e69de29b