summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test.toc b/test.toc
index d3f0f3e..e88affb 100644
--- a/test.toc
+++ b/test.toc
@@ -17,4 +17,6 @@ main ::= fn() {
puti(a); puti(b);
c:x = 7;
d:x = 18;
+ k : [5]struct {x: int; y: int;};
+ puti(k[0].x);
}; \ No newline at end of file