aboutsummaryrefslogtreecommitdiff
path: root/testsuite/compilable
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/compilable')
-rw-r--r--testsuite/compilable/opaque_type.elna2
-rw-r--r--testsuite/compilable/pointer_subtraction.elna2
-rw-r--r--testsuite/compilable/procedure_forward_reference.elna4
3 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/compilable/opaque_type.elna b/testsuite/compilable/opaque_type.elna
index b46cf68..bdbf0d6 100644
--- a/testsuite/compilable/opaque_type.elna
+++ b/testsuite/compilable/opaque_type.elna
@@ -6,7 +6,7 @@ var
handle: ^Handle := nil
alias: ^Alias
-proc take(h: ^Handle): ^Handle
+proc take(h: ^Handle) -> ^Handle
return h
begin
diff --git a/testsuite/compilable/pointer_subtraction.elna b/testsuite/compilable/pointer_subtraction.elna
index c268113..8dd1ff6 100644
--- a/testsuite/compilable/pointer_subtraction.elna
+++ b/testsuite/compilable/pointer_subtraction.elna
@@ -1,4 +1,4 @@
-proc test(a, b: ^Char): Int
+proc test(a, b: ^Char) -> Int
return a - b
end.
diff --git a/testsuite/compilable/procedure_forward_reference.elna b/testsuite/compilable/procedure_forward_reference.elna
index bbffc73..cdf3008 100644
--- a/testsuite/compilable/procedure_forward_reference.elna
+++ b/testsuite/compilable/procedure_forward_reference.elna
@@ -1,7 +1,7 @@
-proc first(): Int
+proc first() -> Int
return second() + 1
-proc second(): Int
+proc second() -> Int
return 41
end.