This commit is contained in:
peter 1999-07-02 13:05:25 +00:00
parent f959158854
commit fc18497f19
2 changed files with 14 additions and 0 deletions

13
bugs/bug0274.pp Normal file
View File

@ -0,0 +1,13 @@
type
proc=procedure(a:longint);
procedure prc(a:longint);
begin
end;
var
p : proc;
begin
p:=@prc;
p:=@(prc); { should this be allowed ? }
end.

View File

@ -362,3 +362,4 @@ bug0270.pp unexpected eof in tp mode with (* and directives
bug0271.pp abstract methods can't be assigned to methodpointers
bug0272.pp No error issued if wrong parameter in function inside a second function
bug0273.pp small array pushing to array of char procedure is wrong
bug0274.pp @(proc) is not allowed