Merge branch 'FunctionCalls' into DontBreakDev

This commit is contained in:
Annie Slenker authored and GitHub committed 2025-05-02 16:26:33 -04:00
commit b0d30e2fcb
9 files changed
+122 -16

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
type main: string -> integer
function entry: main
entry(arg) := {
[integer:x]
x := 3 + 2 * 8;
return x;
}
+8
View File
@@ -0,0 +1,8 @@
type main: string -> integer
function entry: main
entry(arg) := {
[integer:x]
x := 3 + 2 * 8;
return 0;
}
+9
View File
@@ -0,0 +1,9 @@
type main: string -> integer
function entry: main
entry(arg) := {
[integer:x; Boolean b]
x := 3 + 2 * 8;
b := x < 1;
return 0;
}