summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc20
1 files changed, 15 insertions, 5 deletions
diff --git a/test.toc b/test.toc
index 8693412..0ee769f 100644
--- a/test.toc
+++ b/test.toc
@@ -7,11 +7,21 @@
// ");
// };
-Foo @= struct(x @ int) {
- a: [x]float;
-};
+// f @= fn(x @ int) Type {
+// struct {
+// a: [x]float;
+// }
+// };
+
+
main @= fn() {
- f : Foo(13);
-// puti(f.a[12]);
+
+t @= struct {
+ A: int;
+ b: int;
+};
+x : t;
+ y := x;
+
}; \ No newline at end of file