diff options
Diffstat (limited to 'testsuite/compilable')
| -rw-r--r-- | testsuite/compilable/assign_record_to_base.elna | 1 | ||||
| -rw-r--r-- | testsuite/compilable/empty_proc.elna | 2 | ||||
| -rw-r--r-- | testsuite/compilable/empty_statements_in_a_row.elna | 2 | ||||
| -rw-r--r-- | testsuite/compilable/float_literals.elna | 2 | ||||
| -rw-r--r-- | testsuite/compilable/pointer_cast.elna | 2 | ||||
| -rw-r--r-- | testsuite/compilable/pointer_subtraction.elna | 4 | ||||
| -rw-r--r-- | testsuite/compilable/semicolon_parameter_separator.elna | 2 |
7 files changed, 6 insertions, 9 deletions
diff --git a/testsuite/compilable/assign_record_to_base.elna b/testsuite/compilable/assign_record_to_base.elna index 7583c70..fb28e7b 100644 --- a/testsuite/compilable/assign_record_to_base.elna +++ b/testsuite/compilable/assign_record_to_base.elna @@ -12,5 +12,4 @@ var begin x := y; - return 0 end. diff --git a/testsuite/compilable/empty_proc.elna b/testsuite/compilable/empty_proc.elna index fb07285..bf3bd84 100644 --- a/testsuite/compilable/empty_proc.elna +++ b/testsuite/compilable/empty_proc.elna @@ -1,4 +1,4 @@ proc f() -end +return end. diff --git a/testsuite/compilable/empty_statements_in_a_row.elna b/testsuite/compilable/empty_statements_in_a_row.elna index 3cc283c..7cf723c 100644 --- a/testsuite/compilable/empty_statements_in_a_row.elna +++ b/testsuite/compilable/empty_statements_in_a_row.elna @@ -1,6 +1,6 @@ proc f() begin ; -end +return end. diff --git a/testsuite/compilable/float_literals.elna b/testsuite/compilable/float_literals.elna index 1ce914d..ed23989 100644 --- a/testsuite/compilable/float_literals.elna +++ b/testsuite/compilable/float_literals.elna @@ -4,6 +4,6 @@ const y := 1e10 z := 4.567e8 t := 2.5E-3 -end +return end. diff --git a/testsuite/compilable/pointer_cast.elna b/testsuite/compilable/pointer_cast.elna index 64b99ca..ab4b071 100644 --- a/testsuite/compilable/pointer_cast.elna +++ b/testsuite/compilable/pointer_cast.elna @@ -5,6 +5,4 @@ var begin p := c; c := p; - - return 0 end. diff --git a/testsuite/compilable/pointer_subtraction.elna b/testsuite/compilable/pointer_subtraction.elna index 400d4f1..c268113 100644 --- a/testsuite/compilable/pointer_subtraction.elna +++ b/testsuite/compilable/pointer_subtraction.elna @@ -1,4 +1,4 @@ proc test(a, b: ^Char): Int - return a - b -end +return a - b + end. diff --git a/testsuite/compilable/semicolon_parameter_separator.elna b/testsuite/compilable/semicolon_parameter_separator.elna index 36c8f29..229fde0 100644 --- a/testsuite/compilable/semicolon_parameter_separator.elna +++ b/testsuite/compilable/semicolon_parameter_separator.elna @@ -1,4 +1,4 @@ proc f(a: Int; b: Word) -end +return end. |
