aboutsummaryrefslogtreecommitdiff
path: root/test/functions.tm
diff options
context:
space:
mode:
Diffstat (limited to 'test/functions.tm')
-rw-r--r--test/functions.tm6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functions.tm b/test/functions.tm
index 13cdee55..426c33b1 100644
--- a/test/functions.tm
+++ b/test/functions.tm
@@ -1,10 +1,10 @@
-func add(x:Int, y:Int)->Int
+func add(x:Int, y:Int)->Int:
return x + y
-func cached_heap(x:Int; cached)->@Int
+func cached_heap(x:Int; cached)->@Int:
return @x
-func main()
+func main():
>> add(3, 5)
= 8