summaryrefslogtreecommitdiff
path: root/test.lang
diff options
context:
space:
mode:
authorWormHeamer2025-10-27 23:56:54 -0400
committerWormHeamer2025-10-27 23:56:54 -0400
commit0155282b940791eed9ed058d14673a45a17cbecd (patch)
tree0cc6aedab9b16c086585956bf5c33326e9ff712c /test.lang
parente41dcfbbaa969a1bd86925e51a99c4c2474407ff (diff)
lang instead of a.out
Diffstat (limited to 'test.lang')
-rw-r--r--test.lang4
1 files changed, 4 insertions, 0 deletions
diff --git a/test.lang b/test.lang
index e57f630..11f09d3 100644
--- a/test.lang
+++ b/test.lang
@@ -1,3 +1,7 @@
+func square(x i64) i64 {
+ return x * x
+}
+
func main(a, b i64) i64 {
if a < b {
let t = a