summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc3
1 files changed, 3 insertions, 0 deletions
diff --git a/test.toc b/test.toc
index da2dd79..53efe0d 100644
--- a/test.toc
+++ b/test.toc
@@ -1,5 +1,8 @@
#include "std/io.toc";
+s ::= struct(x::..) {
+};
+
f ::= fn(x : ..) int {
total := 0;
for _, i := x {