mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-10 23:20:29 +02:00
* allow assignment of empty dynarray to variant and empty vararray to dynarray.
+ test. git-svn-id: trunk@7754 -
This commit is contained in:
parent
c0fa8fd255
commit
8e45887e1b
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -6327,6 +6327,7 @@ tests/tbs/tb0533.pp svneol=native#text/plain
|
||||
tests/tbs/tb0534.pp svneol=native#text/plain
|
||||
tests/tbs/tb0535.pp svneol=native#text/plain
|
||||
tests/tbs/tb0536.pp svneol=native#text/plain
|
||||
tests/tbs/tb0537.pp svneol=native#text/plain
|
||||
tests/tbs/ub0060.pp svneol=native#text/plain
|
||||
tests/tbs/ub0069.pp svneol=native#text/plain
|
||||
tests/tbs/ub0119.pp svneol=native#text/plain
|
||||
|
9
tests/tbs/tb0537.pp
Normal file
9
tests/tbs/tb0537.pp
Normal file
@ -0,0 +1,9 @@
|
||||
uses variants;
|
||||
|
||||
var
|
||||
d: array of variant;
|
||||
v: variant;
|
||||
begin
|
||||
v:=d;
|
||||
d:=v;
|
||||
end.
|
Loading…
Reference in New Issue
Block a user