Add a test for the ELSE instruction, revealing issues.

This commit is contained in:
Eric Anholt
2006-09-01 12:11:24 -07:00
committed by Damien Lespiau
parent 1f58efa747
commit a8eb735270
4 changed files with 6 additions and 0 deletions
+1
View File
@@ -12,5 +12,6 @@ jmpi
if
iff
while
else
wait
immediate
+3
View File
@@ -14,6 +14,7 @@ TESTS = \
if \
iff \
while \
else \
wait \
immediate
@@ -48,6 +49,8 @@ TESTDATA = \
iff.g4a \
while.expected \
while.g4a \
else.expected \
else.g4a \
wait.expected \
wait.g4a \
immediate.g4a \
+1
View File
@@ -0,0 +1 @@
{ 0x00000024, 0x34001c00, 0x00011400, 0x00010002 },
+1
View File
@@ -0,0 +1 @@
else 2;