|
@@ -1,11 +1,11 @@
|
|
{ Source provided for Free Pascal Bug Report 3893 }
|
|
{ Source provided for Free Pascal Bug Report 3893 }
|
|
{ Submitted by "George Bakhtadze" on 2005-04-14 }
|
|
{ Submitted by "George Bakhtadze" on 2005-04-14 }
|
|
{ e-mail: [email protected] }
|
|
{ e-mail: [email protected] }
|
|
-{%SKIPCPU=powerpc64,x86_64}
|
|
|
|
program test;
|
|
program test;
|
|
|
|
|
|
function GetPropertyValue: Pointer;
|
|
function GetPropertyValue: Pointer;
|
|
begin
|
|
begin
|
|
|
|
+ GetPropertyValue:=nil;
|
|
end;
|
|
end;
|
|
|
|
|
|
var
|
|
var
|
|
@@ -14,9 +14,11 @@ var
|
|
p: Pointer;
|
|
p: Pointer;
|
|
|
|
|
|
begin
|
|
begin
|
|
|
|
+{$ifndef cpu64}
|
|
Size := 9.11;
|
|
Size := 9.11;
|
|
// d := Integer(GetPropertyValue()); // All commented code works
|
|
// d := Integer(GetPropertyValue()); // All commented code works
|
|
// p := GetPropertyValue();
|
|
// p := GetPropertyValue();
|
|
// Size2 := single(p);
|
|
// Size2 := single(p);
|
|
Size2 := single(GetPropertyValue());
|
|
Size2 := single(GetPropertyValue());
|
|
|
|
+{$endif cpu64}
|
|
end.
|
|
end.
|