add two test cases: one-instruction-loop.fleet and infinite-nop-is-torpedoable.fleet
[fleet.git] / tests / torpedo / basic-torpedo.test
1 #skip
2 #expect 20
3 #ship debug : Debug
4 #ship fifo  : Fifo
5
6 debug.in:
7   [Rq] nop;
8   send token to fifo.out;
9   set ilc=*;
10   [T] recv token;
11   [*] set word= 20;
12   [*] deliver;
13   tail;
14
15 fifo.out:
16   recv token;
17   send token to debug.in:i;
18