summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc5
1 files changed, 4 insertions, 1 deletions
diff --git a/test.toc b/test.toc
index 3170b55..1139416 100644
--- a/test.toc
+++ b/test.toc
@@ -16,7 +16,10 @@ putf ::= fn(x: float) {
// f: Foo;
// };
-Foo ::= struct { p: &Foo; };
+
+Bar ::= struct { f: &Foo; };
+
+Foo ::= struct { b: Bar; };
main ::= fn() {
f::=fn(t::Type)Type {t};