mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 22:47:54 +02:00
* new bugs
This commit is contained in:
parent
30cbfd88d4
commit
6fe726cf7a
26
tests/webtbf/tw2787.pp
Normal file
26
tests/webtbf/tw2787.pp
Normal file
@ -0,0 +1,26 @@
|
||||
{ %fail }
|
||||
|
||||
{$mode objfpc}
|
||||
|
||||
Type tClass1=Class
|
||||
Public
|
||||
Constructor Init;Virtual;
|
||||
End;
|
||||
|
||||
Type tClass2=Class(tClass1)
|
||||
Public
|
||||
Constructor Init;Override;Virtual;Overload;
|
||||
End;
|
||||
|
||||
Constructor tClass1.Init;
|
||||
Begin
|
||||
Inherited Create;
|
||||
End;
|
||||
|
||||
Constructor tClass2.Init;
|
||||
Begin
|
||||
Inherited Init;
|
||||
End;
|
||||
|
||||
Begin
|
||||
End.
|
9
tests/webtbs/tw2788.pp
Normal file
9
tests/webtbs/tw2788.pp
Normal file
@ -0,0 +1,9 @@
|
||||
{$mode objfpc}
|
||||
|
||||
Type tLObject=Class;
|
||||
|
||||
Type tLObject=Class
|
||||
End;
|
||||
|
||||
Begin
|
||||
End.
|
16
tests/webtbs/tw2789.pp
Normal file
16
tests/webtbs/tw2789.pp
Normal file
@ -0,0 +1,16 @@
|
||||
{ %opt=-Sen }
|
||||
|
||||
Var B:Longint;
|
||||
|
||||
Procedure Stuff;
|
||||
Var I:Longint;
|
||||
Begin
|
||||
Case B Of
|
||||
0:For I:=1 To 100 Do WriteLn;
|
||||
End;
|
||||
End;
|
||||
|
||||
Begin
|
||||
B:=0;
|
||||
Stuff;
|
||||
End.
|
Loading…
Reference in New Issue
Block a user