Files
compiler-the-translators/tests/sprint4/test/sp4_cg_neg.alpha
2025-04-25 23:26:50 -04:00

9 lines
148 B
Plaintext

type main: integer -> integer
function test: main
test (a) := {
[integer:x; integer:y]
x := 3;
y := -x;
return y;
}