projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Test hex('x...').
[p5sagit/p5-mst-13.2.git]
/
t
/
op
/
tie.t
diff --git
a/t/op/tie.t
b/t/op/tie.t
index
daec685
..
49f07d4
100755
(executable)
--- 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