fpc/tests/webtbs/tw3893.pp
Jonas Maebe e6d948470e * skip test in general for 64 bit cpus
git-svn-id: trunk@29947 -
2015-02-23 22:54:31 +00:00

25 lines
497 B
ObjectPascal

{ Source provided for Free Pascal Bug Report 3893 }
{ Submitted by "George Bakhtadze" on 2005-04-14 }
{ e-mail: mirage@avagames.net }
program test;
function GetPropertyValue: Pointer;
begin
GetPropertyValue:=nil;
end;
var
Size, Size2: Single;
d: Integer;
p: Pointer;
begin
{$ifndef cpu64}
Size := 9.11;
// d := Integer(GetPropertyValue()); // All commented code works
// p := GetPropertyValue();
// Size2 := single(p);
Size2 := single(GetPropertyValue());
{$endif cpu64}
end.