aboutsummaryrefslogtreecommitdiff
path: root/testsuite/runnable/generic_constructor.elna
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/runnable/generic_constructor.elna')
-rw-r--r--testsuite/runnable/generic_constructor.elna4
1 files changed, 1 insertions, 3 deletions
diff --git a/testsuite/runnable/generic_constructor.elna b/testsuite/runnable/generic_constructor.elna
index 201e1b1..d0a3f78 100644
--- a/testsuite/runnable/generic_constructor.elna
+++ b/testsuite/runnable/generic_constructor.elna
@@ -1,3 +1,4 @@
+program()
type
File = record
fd: Int
@@ -12,11 +13,8 @@ var
s: Stack#[^File]
f: File
-program()
begin
s := Stack#[^File]{ top: 1u, items: @f };
assert(s.top = 1u);
assert(s.items = @f)
-return 0u8
-
end.