diff options
Diffstat (limited to 't')
-rwxr-xr-x | t/op/tie.t | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/t/op/tie.t b/t/op/tie.t index daec685d8d..49f07d4d2d 100755 --- a/t/op/tie.t +++ b/t/op/tie.t @@ -166,3 +166,15 @@ sub Self::DESTROY { $b = $_[0] + 0; } } die unless $a == $b; EXPECT +######## +# Interaction of tie and vec + +my ($a, $b); +use Tie::Scalar; +tie $a,Tie::StdScalar or die; +vec($b,1,1)=1; +$a = $b; +vec($a,1,1)=0; +vec($b,1,1)=0; +die unless $a eq $b; +EXPECT |