mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 20:59:42 +02:00
* new bug
This commit is contained in:
parent
e9860e8c97
commit
70d3cfae07
21
tests/webtbs/tw3893.pp
Normal file
21
tests/webtbs/tw3893.pp
Normal file
@ -0,0 +1,21 @@
|
||||
{ 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
|
||||
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.
|
Loading…
Reference in New Issue
Block a user