mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 20:00:19 +02:00
* test for enums in record
git-svn-id: trunk@2405 -
This commit is contained in:
parent
e785aee0a1
commit
62d885369d
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -5338,6 +5338,7 @@ tests/tbs/tb0496.pp svneol=native#text/plain
|
|||||||
tests/tbs/tb0497a.pp -text
|
tests/tbs/tb0497a.pp -text
|
||||||
tests/tbs/tb0497b.pp -text
|
tests/tbs/tb0497b.pp -text
|
||||||
tests/tbs/tb0497c.pp -text
|
tests/tbs/tb0497c.pp -text
|
||||||
|
tests/tbs/tb0498.pp svneol=native#text/plain
|
||||||
tests/tbs/ub0060.pp svneol=native#text/plain
|
tests/tbs/ub0060.pp svneol=native#text/plain
|
||||||
tests/tbs/ub0069.pp svneol=native#text/plain
|
tests/tbs/ub0069.pp svneol=native#text/plain
|
||||||
tests/tbs/ub0119.pp svneol=native#text/plain
|
tests/tbs/ub0119.pp svneol=native#text/plain
|
||||||
|
15
tests/tbs/tb0498.pp
Normal file
15
tests/tbs/tb0498.pp
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
type
|
||||||
|
t1 = longint;
|
||||||
|
|
||||||
|
procedure p(t3:word);
|
||||||
|
var
|
||||||
|
t2 : record
|
||||||
|
t1 : t1;
|
||||||
|
end;
|
||||||
|
begin
|
||||||
|
writeln(t3);
|
||||||
|
end;
|
||||||
|
|
||||||
|
begin
|
||||||
|
p(10);
|
||||||
|
end.
|
Loading…
Reference in New Issue
Block a user