fpc/tests/webtbs/tw3893.pp
2006-01-03 21:17:36 +00:00

23 lines
469 B
ObjectPascal

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