aboutsummaryrefslogtreecommitdiff
path: root/testsuite/compilable
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-09-07 22:02:15 +0200
committerEugen Wissner <belka@caraus.de>2026-09-07 23:39:53 +0200
commit72f5e82196d95008ed12c12de6bdccf24361e106 (patch)
tree8319324de8e2a5182dc3c1ddca00a837c2489ad2 /testsuite/compilable
parent47521ad6d85f9bd6caee39696ce40dff82cfa50d (diff)
downloadelna-72f5e82196d95008ed12c12de6bdccf24361e106.tar.gz
Make module entry point more procedure like
Diffstat (limited to 'testsuite/compilable')
-rw-r--r--testsuite/compilable/assign_record_to_base.elna2
-rw-r--r--testsuite/compilable/const_negation.elna2
-rw-r--r--testsuite/compilable/const_var_chain.elna2
-rw-r--r--testsuite/compilable/opaque_type.elna2
-rw-r--r--testsuite/compilable/pointer_cast.elna2
-rw-r--r--testsuite/compilable/pointer_const_conversion.elna2
-rw-r--r--testsuite/compilable/take_const_address.elna2
-rw-r--r--testsuite/compilable/traits_size.elna2
8 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/compilable/assign_record_to_base.elna b/testsuite/compilable/assign_record_to_base.elna
index 7601d06..303bde0 100644
--- a/testsuite/compilable/assign_record_to_base.elna
+++ b/testsuite/compilable/assign_record_to_base.elna
@@ -13,4 +13,6 @@ var
program()
begin
x := y;
+return 0u8
+
end.
diff --git a/testsuite/compilable/const_negation.elna b/testsuite/compilable/const_negation.elna
index cb76e58..82a4cb6 100644
--- a/testsuite/compilable/const_negation.elna
+++ b/testsuite/compilable/const_negation.elna
@@ -6,4 +6,6 @@ program()
begin
assert(x = -5);
assert(y = 5);
+return 0u8
+
end.
diff --git a/testsuite/compilable/const_var_chain.elna b/testsuite/compilable/const_var_chain.elna
index 5a3623f..ad85f48 100644
--- a/testsuite/compilable/const_var_chain.elna
+++ b/testsuite/compilable/const_var_chain.elna
@@ -5,4 +5,6 @@ var
program()
begin
assert(y = 42)
+return 0u8
+
end.
diff --git a/testsuite/compilable/opaque_type.elna b/testsuite/compilable/opaque_type.elna
index fdb2928..c570e0d 100644
--- a/testsuite/compilable/opaque_type.elna
+++ b/testsuite/compilable/opaque_type.elna
@@ -12,4 +12,6 @@ return h
program()
begin
alias := take(handle)
+return 0u8
+
end.
diff --git a/testsuite/compilable/pointer_cast.elna b/testsuite/compilable/pointer_cast.elna
index 3807d69..ad15432 100644
--- a/testsuite/compilable/pointer_cast.elna
+++ b/testsuite/compilable/pointer_cast.elna
@@ -6,4 +6,6 @@ program()
begin
p := c;
c := p
+return 0u8
+
end.
diff --git a/testsuite/compilable/pointer_const_conversion.elna b/testsuite/compilable/pointer_const_conversion.elna
index d2328ae..a5bd297 100644
--- a/testsuite/compilable/pointer_const_conversion.elna
+++ b/testsuite/compilable/pointer_const_conversion.elna
@@ -5,4 +5,6 @@ var
program()
begin
p := @x
+return 0u8
+
end.
diff --git a/testsuite/compilable/take_const_address.elna b/testsuite/compilable/take_const_address.elna
index 71c8e0b..4f82b2a 100644
--- a/testsuite/compilable/take_const_address.elna
+++ b/testsuite/compilable/take_const_address.elna
@@ -5,4 +5,6 @@ var
program()
begin
x := @y
+return 0u8
+
end.
diff --git a/testsuite/compilable/traits_size.elna b/testsuite/compilable/traits_size.elna
index 7ee46f1..f245637 100644
--- a/testsuite/compilable/traits_size.elna
+++ b/testsuite/compilable/traits_size.elna
@@ -10,4 +10,6 @@ begin
assert(s > 0);
assert(as = 10 * cast(#size(Int): Int));
assert(p > 0)
+return 0u8
+
end.