1 2 3 4 5 6 7 8
(* ERROR: function missing return statement *) program main( input, output ); function foo(a: integer): integer; begin end; begin end.