mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 12:09:30 +02:00
+ added
This commit is contained in:
parent
650eb87f8c
commit
303ad8de46
17
tests/tbs/tb0404.pp
Normal file
17
tests/tbs/tb0404.pp
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
type
|
||||||
|
G = object
|
||||||
|
public
|
||||||
|
B:procedure;
|
||||||
|
{ the 1.1 compiler parses the next "public" as a procdirective of the preceding procedure }
|
||||||
|
public
|
||||||
|
constructor init;
|
||||||
|
end;
|
||||||
|
|
||||||
|
constructor G.init;
|
||||||
|
begin
|
||||||
|
B:=nil;
|
||||||
|
end;
|
||||||
|
|
||||||
|
begin
|
||||||
|
end.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user