git @ Cat's Eye Technologies SixtyPical / 2a71c7e
Add failing test for a vector being able to name itself in outputs. Chris Pressey 3 years ago
1 changed file(s) with 19 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
304304 | }
305305 ? SyntaxError
306306
307 A vector can name itself in its inputs, outputs, and trashes.
308
309 | vector cinv
310 | inputs cinv, a
311 | outputs cinv, x
312 | trashes a, x, z, n
313 | @ 788
314 |
315 | routine foo {
316 | ld a, 0
317 | }
318 | routine main {
319 | with interrupts off {
320 | copy foo, cinv
321 | }
322 | call cinv
323 | }
324 = ok
325
307326 goto.
308327
309328 | routine foo {