aboutsummaryrefslogtreecommitdiff
path: root/test/structs.tm
diff options
context:
space:
mode:
Diffstat (limited to 'test/structs.tm')
-rw-r--r--test/structs.tm8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/structs.tm b/test/structs.tm
index d68bbe8b..d4b0a87e 100644
--- a/test/structs.tm
+++ b/test/structs.tm
@@ -55,10 +55,18 @@ func test_mixed():
>> set:has(y)
= no
+func test_text():
+ >> b := @CorecursiveB()
+ >> a := @CorecursiveA(b)
+ >> b.other = a
+ >> a
+ = @CorecursiveA(@CorecursiveB(@~1?)?)
+
func main():
test_literals()
test_metamethods()
test_mixed()
+ test_text()
>> @LinkedList(10, @LinkedList(20))