summaryrefslogtreecommitdiff
path: root/test.lang
diff options
context:
space:
mode:
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