This commit is contained in:
Araq 2018-11-19 11:28:06 +01:00
commit 2418d0cac5
2 changed files with 13 additions and 2 deletions

View file

@ -2,7 +2,10 @@
discard """
output: '''3
0
destroyed!'''
0
10
destroyed!
'''
"""
type
@ -17,3 +20,10 @@ var
x.f = 3
echo move(x.f)
echo x.f
# bug #9743
let a = create int
a[] = 10
var b = move a[]
echo a[]
echo b