mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-28 13:30:33 +02:00
*** empty log message ***
This commit is contained in:
parent
4f997fddd1
commit
bd95a2d64e
@ -1,4 +1,4 @@
|
|||||||
unit unit2;
|
unit bug0139;
|
||||||
|
|
||||||
interface
|
interface
|
||||||
uses
|
uses
|
||||||
|
@ -40,7 +40,7 @@ end;
|
|||||||
|
|
||||||
var base : Tbaseclass;
|
var base : Tbaseclass;
|
||||||
other : Totherclass;
|
other : Totherclass;
|
||||||
asmrec : Tasmrec;
|
// asmrec : Tasmrec;
|
||||||
testfield : longint;
|
testfield : longint;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
23
bugs/bug0195.pp
Normal file
23
bugs/bug0195.pp
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
uses graph,dpmiexcp;
|
||||||
|
var
|
||||||
|
GDriver, GMode: Integer;
|
||||||
|
w:word;
|
||||||
|
p:pointer;
|
||||||
|
begin
|
||||||
|
GDriver := $FF;
|
||||||
|
GMode := $101;
|
||||||
|
InitGraph(GDriver, GMode, '');
|
||||||
|
if (GraphResult <> grOK) then
|
||||||
|
Halt(0);
|
||||||
|
rectangle(0,0,getmaxx,getmaxy);
|
||||||
|
w := imagesize(0,0,111,111);
|
||||||
|
getmem(p, w);
|
||||||
|
|
||||||
|
{---runtime-error!------}
|
||||||
|
getimage(0,0,111,111, p);
|
||||||
|
{-----------------------}
|
||||||
|
|
||||||
|
freemem(p, w);
|
||||||
|
closegraph;
|
||||||
|
readln;
|
||||||
|
end.
|
@ -260,3 +260,4 @@ bug0190.pp can't have typecast for var params ??
|
|||||||
bug0191.pp missing vecn constant evaluation
|
bug0191.pp missing vecn constant evaluation
|
||||||
bug0193.pp overflow checking for 8 and 16 bit operations wrong
|
bug0193.pp overflow checking for 8 and 16 bit operations wrong
|
||||||
bug0194.pp @procedure var returns value in it instead of address !!
|
bug0194.pp @procedure var returns value in it instead of address !!
|
||||||
|
bug0195.pp Problem with Putimage, crash of DOS box, even with dpmiexcp!!
|
||||||
|
Loading…
Reference in New Issue
Block a user