Files
compiler-the-translators/tests/sprint4/test/sp4_cg_add.alpha
Scarlett 3f7c79b801 genx
2025-05-04 18:41:02 -04:00

12 lines
168 B
Plaintext

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