mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 12:26:58 +02:00
parent
629b2a8951
commit
0bf1af08c4
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -18501,6 +18501,7 @@ tests/webtbs/tw37949.pp svneol=native#text/pascal
|
||||
tests/webtbs/tw3796.pp svneol=native#text/plain
|
||||
tests/webtbs/tw37969.pp svneol=native#text/pascal
|
||||
tests/webtbs/tw38012.pp svneol=native#text/pascal
|
||||
tests/webtbs/tw38022.pp svneol=native#text/pascal
|
||||
tests/webtbs/tw3805.pp svneol=native#text/plain
|
||||
tests/webtbs/tw3814.pp svneol=native#text/plain
|
||||
tests/webtbs/tw3827.pp svneol=native#text/plain
|
||||
|
19
tests/webtbs/tw38022.pp
Normal file
19
tests/webtbs/tw38022.pp
Normal file
@ -0,0 +1,19 @@
|
||||
uses
|
||||
variants;
|
||||
type
|
||||
tr = packed record
|
||||
b : byte;
|
||||
v : tvardata;
|
||||
end;
|
||||
procedure p(var a : variant);
|
||||
var
|
||||
vd : tvardata;
|
||||
begin
|
||||
vd:=tvardata(a);
|
||||
end;
|
||||
|
||||
var
|
||||
r : tr;
|
||||
begin
|
||||
p(variant(r.v));
|
||||
end.
|
Loading…
Reference in New Issue
Block a user