aboutsummaryrefslogtreecommitdiff
path: root/testsuite/compilable/assign_record_to_base.elna
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-09-24 00:39:51 +0200
committerEugen Wissner <belka@caraus.de>2026-09-24 00:39:51 +0200
commitf7b035a505e86ad916a43ab1dc1a662a6066b011 (patch)
treea54369ae8ad56352d148c4583ab568f7d4869d30 /testsuite/compilable/assign_record_to_base.elna
parent74e75e41fe12f19e5365a3152ffafa1a29376240 (diff)
downloadelna-f7b035a505e86ad916a43ab1dc1a662a6066b011.tar.gz
Move module heading to the top
Diffstat (limited to 'testsuite/compilable/assign_record_to_base.elna')
-rw-r--r--testsuite/compilable/assign_record_to_base.elna6
1 files changed, 2 insertions, 4 deletions
diff --git a/testsuite/compilable/assign_record_to_base.elna b/testsuite/compilable/assign_record_to_base.elna
index 303bde0..14bc3f5 100644
--- a/testsuite/compilable/assign_record_to_base.elna
+++ b/testsuite/compilable/assign_record_to_base.elna
@@ -1,3 +1,4 @@
+program()
type
B = record
x: Int
@@ -10,9 +11,6 @@ var
x: ^B := nil
y: ^R := nil
-program()
begin
- x := y;
-return 0u8
-
+ x := y
end.