Big testing update
This commit is contained in:
10
tests/sprint4/test/sp4_cg_add.alpha
Normal file
10
tests/sprint4/test/sp4_cg_add.alpha
Normal file
@ -0,0 +1,10 @@
|
||||
type main: integer -> integer
|
||||
function test: main
|
||||
|
||||
test (a) := {
|
||||
[integer:x; integer:y]
|
||||
y := 1;
|
||||
x := 3;
|
||||
y := x + y;
|
||||
return y;
|
||||
}
|
Reference in New Issue
Block a user