Added a couple of Rain testcases
This commit is contained in:
parent
af4a66e2e4
commit
022447b04c
7
testcases/alphabet.rain
Normal file
7
testcases/alphabet.rain
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
process main (?uint8: in, !uint8: out, !uint8: err)
|
||||||
|
{
|
||||||
|
seqeach (c : ['a' .. 'z'])
|
||||||
|
{
|
||||||
|
out ! c;
|
||||||
|
}
|
||||||
|
}
|
7
testcases/assign.rain
Normal file
7
testcases/assign.rain
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
process main (?uint8: in, !uint8: out, !uint8: err)
|
||||||
|
{
|
||||||
|
int: x,y,z;
|
||||||
|
x = y;
|
||||||
|
y = z + 5;
|
||||||
|
x = 2;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user