summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc7
1 files changed, 7 insertions, 0 deletions
diff --git a/test.toc b/test.toc
index d7d9e72..be9340c 100644
--- a/test.toc
+++ b/test.toc
@@ -1,5 +1,12 @@
main @= fn() {
a : [('a' as u8 as f32) / 2 + 0.5 as i8 as &int as u64]int;
+
+ foo := fn(x : int) int {
+ 7
+ };
+
+ bar := foo(3);
+
// arr1 : ['a' as u8]int;
// arr2 : [main as u64]int;
// arr3 : [main as i64]int;