summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assembler/test/.gitignore1
-rw-r--r--assembler/test/Makefile.am3
-rw-r--r--assembler/test/endif.expected1
-rw-r--r--assembler/test/endif.g4a1
4 files changed, 6 insertions, 0 deletions
diff --git a/assembler/test/.gitignore b/assembler/test/.gitignore
index fae3c04d..68a959c3 100644
--- a/assembler/test/.gitignore
+++ b/assembler/test/.gitignore
@@ -14,4 +14,5 @@ iff
while
else
wait
+endif
immediate
diff --git a/assembler/test/Makefile.am b/assembler/test/Makefile.am
index b70ba602..3045e96d 100644
--- a/assembler/test/Makefile.am
+++ b/assembler/test/Makefile.am
@@ -16,6 +16,7 @@ TESTS = \
while \
else \
wait \
+ endif \
immediate
# Tests that are expected to fail because they contain some inccorect code.
@@ -53,6 +54,8 @@ TESTDATA = \
else.g4a \
wait.expected \
wait.g4a \
+ endif.expected \
+ endif.g4a \
immediate.g4a \
immediate.expected
diff --git a/assembler/test/endif.expected b/assembler/test/endif.expected
new file mode 100644
index 00000000..b8a3003b
--- /dev/null
+++ b/assembler/test/endif.expected
@@ -0,0 +1 @@
+ { 0x00000025, 0x00001c00, 0x00000000, 0x00010000 },
diff --git a/assembler/test/endif.g4a b/assembler/test/endif.g4a
new file mode 100644
index 00000000..b3b09fab
--- /dev/null
+++ b/assembler/test/endif.g4a
@@ -0,0 +1 @@
+endif;