aboutsummaryrefslogtreecommitdiff
path: root/testsuite/runnable/generic_record.elna
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/runnable/generic_record.elna')
-rw-r--r--testsuite/runnable/generic_record.elna4
1 files changed, 1 insertions, 3 deletions
diff --git a/testsuite/runnable/generic_record.elna b/testsuite/runnable/generic_record.elna
index 8a334ce..4164c3d 100644
--- a/testsuite/runnable/generic_record.elna
+++ b/testsuite/runnable/generic_record.elna
@@ -1,3 +1,4 @@
+program()
type
File = record
fd: Int
@@ -18,12 +19,9 @@ begin
target^.top := target^.top + 1u
return
-program()
begin
s.top := 0u;
push#[^File](@s, @f);
assert(s.top = 1u);
assert(s.items = @f)
-return 0u8
-
end.