aboutsummaryrefslogtreecommitdiffstats
path: root/progs/tests/auto/instantiate.sy
diff options
context:
space:
mode:
Diffstat (limited to 'progs/tests/auto/instantiate.sy')
-rw-r--r--progs/tests/auto/instantiate.sy5
1 files changed, 5 insertions, 0 deletions
diff --git a/progs/tests/auto/instantiate.sy b/progs/tests/auto/instantiate.sy
new file mode 100644
index 0000000..7d32bf9
--- /dev/null
+++ b/progs/tests/auto/instantiate.sy
@@ -0,0 +1,5 @@
+start :: fn {
+blob A {}
+ a := A()
+ a
+}