diff options
Diffstat (limited to 'Testing/Semantic/t5-2.p')
-rw-r--r-- | Testing/Semantic/t5-2.p | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Testing/Semantic/t5-2.p b/Testing/Semantic/t5-2.p new file mode 100644 index 0000000..2b9cde3 --- /dev/null +++ b/Testing/Semantic/t5-2.p @@ -0,0 +1,8 @@ +(* ERROR: function missing return statement *) +program main( input, output ); + function foo(a: integer): integer; + begin + end; +begin +end. + |