fpc/tests/tbs0189.pp
1999-01-15 17:41:58 +00:00

23 lines
298 B
ObjectPascal

var m: procedure;
procedure test;
begin
end;
procedure test2;
begin
end;
begin
if @test <> @test2 then
writeln('different!')
else
writeln('error');
m:=@test;
{ here also the syntax was wrong !! }
{ @m <> @test have different types !! }
if m <> @test then
writeln('error');
end.