aboutsummaryrefslogtreecommitdiff
path: root/test/structs.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-03-05 12:55:38 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-03-05 12:55:38 -0500
commit558c8588ee2aa772442837be16a7ed19a36cc753 (patch)
tree9e26518ae0f7956e21c7b7d55350f7f51e3e81eb /test/structs.tm
parent103edd636205921e1afadd91a284f3ead22afcce (diff)
Fix default values for structs
Diffstat (limited to 'test/structs.tm')
-rw-r--r--test/structs.tm2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/structs.tm b/test/structs.tm
index c86f9102..c46c87e4 100644
--- a/test/structs.tm
+++ b/test/structs.tm
@@ -50,3 +50,5 @@ func test_mixed()
= "missing"
test_mixed()
+struct LinkedList(x:Int, next=!LinkedList)
+>> @LinkedList(10, @LinkedList(20))