summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc29
1 files changed, 15 insertions, 14 deletions
diff --git a/test.toc b/test.toc
index e22bcbd..50e77d5 100644
--- a/test.toc
+++ b/test.toc
@@ -1,17 +1,18 @@
main @= fn() {
- arr1 : ['a' as u8]int;
- arr2 : [main as u64]int;
- arr3 : [main as i64]int;
- N @= (-10 + (97 as char as u8 as f32)) as u32;
- arr4 : [N]int;
- arr5 : [main as u64]int;
- arr6 : [main as u64 as fn() as u64]int;
- arr7 : [main as u64 as fn() int as u64]int;
+ a : [3 + 7 - 8 / 9 * 8]int;
+ // arr1 : ['a' as u8]int;
+ // arr2 : [main as u64]int;
+ // arr3 : [main as i64]int;
+ // N @= (-10 + (97 as char as u8 as f32)) as u32;
+ // arr4 : [N]int;
+ // arr5 : [main as u64]int;
+ // arr6 : [main as u64 as fn() as u64]int;
+ // arr7 : [main as u64 as fn() int as u64]int;
- str @= "foo";
- arr8 : [(str[0] as u32) + (str[1] as u32) + (str[2] as u32)]int;
- asdf @= new int;
- arr9 : [asdf as u64]int;
- arr10 : [main as &i32 as u64]int;
- arr11 : [((main as &u64) as [4]u64)[3]]int;
+ // str @= "foo";
+ // arr8 : [(str[0] as u32) + (str[1] as u32) + (str[2] as u32)]int;
+ // asdf @= new int;
+ // arr9 : [asdf as u64]int;
+ // arr10 : [main as &i32 as u64]int;
+ // arr11 : [((main as &u64) as [4]u64)[3]]int;
};