From 03629b74d9161aec138e1dfa49cded792bf344a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20K=C4=85dzio=C5=82ka?= Date: Thu, 29 Aug 2019 19:14:02 +0200 Subject: [PATCH] Add a test for a defining local label without a parent --- test/asm/local-without-parent.asm | 2 ++ test/asm/local-without-parent.out | 2 ++ test/asm/local-without-parent.out.pipe | 2 ++ 3 files changed, 6 insertions(+) create mode 100644 test/asm/local-without-parent.asm create mode 100644 test/asm/local-without-parent.out create mode 100644 test/asm/local-without-parent.out.pipe diff --git a/test/asm/local-without-parent.asm b/test/asm/local-without-parent.asm new file mode 100644 index 00000000..a289769d --- /dev/null +++ b/test/asm/local-without-parent.asm @@ -0,0 +1,2 @@ +SECTION "Test", ROM0 +.test: diff --git a/test/asm/local-without-parent.out b/test/asm/local-without-parent.out new file mode 100644 index 00000000..574d2972 --- /dev/null +++ b/test/asm/local-without-parent.out @@ -0,0 +1,2 @@ +ERROR: local-without-parent.asm(2): + Local label in main scope diff --git a/test/asm/local-without-parent.out.pipe b/test/asm/local-without-parent.out.pipe new file mode 100644 index 00000000..33f56a3d --- /dev/null +++ b/test/asm/local-without-parent.out.pipe @@ -0,0 +1,2 @@ +ERROR: -(2): + Local label in main scope