Add a test for ENDIF, revealing issues.

This commit is contained in:
Eric Anholt 2006-09-01 12:25:22 -07:00 committed by Damien Lespiau
parent 960ca001ca
commit 7c3ba4d49d
4 changed files with 6 additions and 0 deletions

View File

@ -14,4 +14,5 @@ iff
while
else
wait
endif
immediate

View File

@ -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

View File

@ -0,0 +1 @@
{ 0x00000025, 0x00001c00, 0x00000000, 0x00010000 },

1
assembler/test/endif.g4a Normal file
View File

@ -0,0 +1 @@
endif;