fpc/tests/webtbf/tw3812.pp
Jonas Maebe 1ee8207ffa * fixed mantis #9522: no longer allow typecasting ordinal constants
to complex types (caused a lot of internal errors later on, and
    was also Delphi-incompatible)

git-svn-id: trunk@8369 -
2007-09-03 15:55:26 +00:00

19 lines
316 B
ObjectPascal

{ %fail }
{ Source provided for Free Pascal Bug Report 3812 }
{ Submitted by "Sergey@michint" on 2005-03-22 }
{ e-mail: }
type
LARGE_INTEGER = record
LowPart : Cardinal;
HighPart : LongInt;
end;
procedure t(li1: Large_Integer); stdcall;
begin
end;
begin
t(Large_Integer(1111111111111111));
end.