mirror of
https://github.com/catseye/SixtyPical.git
synced 2024-08-31 15:29:07 +00:00
Some more tests, which fail because I forgot to pull the repo :/
This commit is contained in:
parent
16649042cb
commit
fa244c1550
@ -1148,3 +1148,25 @@ Calling the vector has indeed trashed stuff etc,
|
|||||||
| call foo
|
| call foo
|
||||||
| }
|
| }
|
||||||
? UninitializedOutputError: x
|
? UninitializedOutputError: x
|
||||||
|
|
||||||
|
A goto, if present, must appear at the end of the routine.
|
||||||
|
|
||||||
|
| routine bar trashes x, z, n {
|
||||||
|
| ld x, 200
|
||||||
|
| }
|
||||||
|
|
|
||||||
|
| routine main trashes x, z, n {
|
||||||
|
| ld x, 0
|
||||||
|
| goto bar
|
||||||
|
| }
|
||||||
|
= ok
|
||||||
|
|
||||||
|
| routine bar trashes x, z, n {
|
||||||
|
| ld x, 200
|
||||||
|
| }
|
||||||
|
|
|
||||||
|
| routine main trashes x, z, n {
|
||||||
|
| goto bar
|
||||||
|
| ld x, 0
|
||||||
|
| }
|
||||||
|
? IllegalGotoError
|
||||||
|
Loading…
Reference in New Issue
Block a user