fpc/tests/webtbf/tw8079.pp
2007-07-23 08:57:31 +00:00

14 lines
159 B
ObjectPascal

{ %opt=-vw -Sew -Oodfa }
{ %fail }
program test;
function foo(x: integer): integer;
begin
if x > 10 then
exit(10);
end;
begin
foo(4);
foo(12);
end.