summaryrefslogtreecommitdiff
path: root/test/list1.lm
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2015-01-24 10:12:48 -0500
committerAdrian Thurston <thurston@complang.org>2015-01-24 10:12:48 -0500
commitaf9614513235a310590747bd0f39435c54816beb (patch)
treec5c9ca899d06f69026c3e5c04d1d0d54a45af85a /test/list1.lm
parent6ed9cc38ede29690539e8da3d2c161ce82a77b07 (diff)
downloadcolm-af9614513235a310590747bd0f39435c54816beb.tar.gz
mandatory arg list for new
Diffstat (limited to 'test/list1.lm')
-rw-r--r--test/list1.lm6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/list1.lm b/test/list1.lm
index b1c58055..90c75dbe 100644
--- a/test/list1.lm
+++ b/test/list1.lm
@@ -22,13 +22,13 @@ struct start_el
list_el el
end
-L: list<start_el> = new list<start_el>
+L: list<start_el> = new list<start_el>()
-E: start_el = new start_el
+E: start_el = new start_el()
E->S = S
L->push_head( E )
-E = new start_el
+E = new start_el()
E->S = S
L->push_head( E )