mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 00:29:33 +02:00
Test fix Revision 29450 fro bug report 27294.
git-svn-id: trunk@29452 -
This commit is contained in:
parent
d033c7e122
commit
c19f3d6994
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -14192,6 +14192,7 @@ tests/webtbs/tw2725.pp svneol=native#text/plain
|
||||
tests/webtbs/tw2727.pp svneol=native#text/plain
|
||||
tests/webtbs/tw2728.pp svneol=native#text/plain
|
||||
tests/webtbs/tw2729.pp svneol=native#text/plain
|
||||
tests/webtbs/tw27294.pp svneol=native#text/plain
|
||||
tests/webtbs/tw2730.pp svneol=native#text/plain
|
||||
tests/webtbs/tw2731.pp svneol=native#text/plain
|
||||
tests/webtbs/tw2736.pp svneol=native#text/plain
|
||||
@ -14935,6 +14936,7 @@ tests/webtbs/uw26922a.pp svneol=native#text/pascal
|
||||
tests/webtbs/uw26922b.pp svneol=native#text/pascal
|
||||
tests/webtbs/uw2706a.pp svneol=native#text/plain
|
||||
tests/webtbs/uw2706b.pp svneol=native#text/plain
|
||||
tests/webtbs/uw27294.pp svneol=native#text/plain
|
||||
tests/webtbs/uw2731.pp svneol=native#text/plain
|
||||
tests/webtbs/uw2738.pp svneol=native#text/plain
|
||||
tests/webtbs/uw2834.pp svneol=native#text/plain
|
||||
|
26
tests/webtbs/tw27294.pp
Normal file
26
tests/webtbs/tw27294.pp
Normal file
@ -0,0 +1,26 @@
|
||||
uses
|
||||
uw27294;
|
||||
|
||||
var
|
||||
p : procedure;
|
||||
|
||||
procedure test;
|
||||
|
||||
begin
|
||||
p:=@test;
|
||||
writeln('OK');
|
||||
end;
|
||||
|
||||
procedure global;
|
||||
begin
|
||||
p:=nil;
|
||||
test;
|
||||
p();
|
||||
end;
|
||||
|
||||
begin
|
||||
global;
|
||||
uw27294.global;
|
||||
end.
|
||||
|
||||
|
28
tests/webtbs/uw27294.pp
Normal file
28
tests/webtbs/uw27294.pp
Normal file
@ -0,0 +1,28 @@
|
||||
unit
|
||||
uw27294;
|
||||
|
||||
interface
|
||||
|
||||
procedure global;
|
||||
|
||||
implementation
|
||||
|
||||
var
|
||||
p : procedure;
|
||||
|
||||
procedure test;
|
||||
|
||||
begin
|
||||
p:=@test;
|
||||
writeln('OK');
|
||||
end;
|
||||
|
||||
procedure global;
|
||||
begin
|
||||
p:=nil;
|
||||
test;
|
||||
p();
|
||||
end;
|
||||
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user