Files
compiler-the-translators/tests/sprint4/test/sp4_cg_add.alpha
2025-05-04 16:05:13 -04:00

11 lines
164 B
Plaintext

(* TEST: [-asc -tc -cg -ir] *)
type main: integer -> integer
function test: main
test (a) := {
[integer:x; integer:y]
y := 1;
x := 3;
y := x + y;
return y;
}