summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc7
1 files changed, 5 insertions, 2 deletions
diff --git a/test.toc b/test.toc
index ec20c2f..fe137d3 100644
--- a/test.toc
+++ b/test.toc
@@ -16,7 +16,10 @@ putf @= fn(x: float) {
pair @= fn(s @ Type) Type {
- [2]s
+struct {
+x:s;
+y:s;
+}
};
main @= fn() {
@@ -27,4 +30,4 @@ x[0] = 7;
puti(x[0]);
z[0] = 3.3;
putf(z[0]);
-}; \ No newline at end of file
+};