fpc/tests/webtbf/tw8781.pp
florian 2eb40fc025 * forbid file types as function results
git-svn-id: trunk@7180 -
2007-04-28 18:32:03 +00:00

26 lines
357 B
ObjectPascal

{ %fail }
program packer;
type
HeaderStr=record
Name:Array[1..20] of char;
Objects:byte;
FirstObject:longint;
end;
ObjStr=record
Name:array[1..8] of char;
Size:longint;
Width:integer;
Height:integer;
ObjType:byte;
NextObject:longint
end;
function openfile(filepath:string):file;
begin
end;
begin
end.