mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 17:59:27 +02:00
* new test
This commit is contained in:
parent
71202a141d
commit
7241c5daff
27
tests/webtbs/tw2942a.pp
Normal file
27
tests/webtbs/tw2942a.pp
Normal file
@ -0,0 +1,27 @@
|
||||
unit tw2942a;
|
||||
|
||||
|
||||
interface
|
||||
{$mode Delphi}
|
||||
|
||||
Type
|
||||
TIdStack = class
|
||||
public
|
||||
constructor Create; reintroduce; virtual;
|
||||
destructor Destroy; override;
|
||||
end;
|
||||
|
||||
implementation
|
||||
|
||||
constructor TIdStack.Create;
|
||||
begin
|
||||
inherited destroy;
|
||||
end;
|
||||
|
||||
destructor TIdStack.Destroy;
|
||||
begin
|
||||
inherited Destroy;
|
||||
end;
|
||||
|
||||
|
||||
end.
|
28
tests/webtbs/tw2942b.pp
Normal file
28
tests/webtbs/tw2942b.pp
Normal file
@ -0,0 +1,28 @@
|
||||
{ Source provided for Free Pascal Bug Report 2942 }
|
||||
{ Submitted by "Marco (Gory Bugs Department)" on 2004-02-06 }
|
||||
{ e-mail: }
|
||||
unit tw2942b;
|
||||
|
||||
interface
|
||||
{$mode Delphi}
|
||||
|
||||
Uses tw2942a;
|
||||
type
|
||||
TIdStackWindows = class(TIdStack)
|
||||
public
|
||||
constructor Create; override;
|
||||
destructor Destroy; override;
|
||||
end;
|
||||
|
||||
implementation
|
||||
|
||||
constructor TIdStackWindows.Create;
|
||||
begin
|
||||
inherited destroy;
|
||||
end;
|
||||
|
||||
destructor TIdStackWindows.Destroy;
|
||||
begin
|
||||
inherited Destroy;
|
||||
end;
|
||||
end.
|
Loading…
Reference in New Issue
Block a user