summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc11
1 files changed, 9 insertions, 2 deletions
diff --git a/test.toc b/test.toc
index 1812bb4..d1c2fa8 100644
--- a/test.toc
+++ b/test.toc
@@ -1,7 +1,14 @@
main @= fn() {
- foo @= 5.3 + 6;
+ arr1 : ['a' as u8]int;
+ arr2 : [main as u64]int;
+ arr3 : [main as i64]int;
+ N @= (-10 + (97 as char as f32)) as u32;
+ arr4 : [N]int;
+ arr5 : [main as u64]int;
+/// arr6 : [main as u64 as fn() as u64]int; FIXME
+ arr7 : [main as u64 as fn() int as u64]int;
+
// x @= fn(i: f32) i64 {
// 0
// };
- bar := foo+-foo;
};