mirror of
https://github.com/catseye/SixtyPical.git
synced 2025-02-01 23:33:28 +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…
x
Reference in New Issue
Block a user