aboutsummaryrefslogtreecommitdiff
path: root/testsuite/runnable/return_aggregate.elna
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/runnable/return_aggregate.elna')
-rw-r--r--testsuite/runnable/return_aggregate.elna4
1 files changed, 1 insertions, 3 deletions
diff --git a/testsuite/runnable/return_aggregate.elna b/testsuite/runnable/return_aggregate.elna
index 4377d94..6959b60 100644
--- a/testsuite/runnable/return_aggregate.elna
+++ b/testsuite/runnable/return_aggregate.elna
@@ -1,3 +1,4 @@
+program()
type
R = record
a: Int;
@@ -7,9 +8,6 @@ type
proc f() -> R
return R{ a: 1, b: 2 }
-program()
begin
assert(f() = R{ a: 1, b: 2 })
-return 0u8
-
end.