summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rwxr-xr-xt/op/my.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/op/my.t b/t/op/my.t
index d439bebd86..1777e88266 100755
--- a/t/op/my.t
+++ b/t/op/my.t
@@ -10,7 +10,8 @@ sub foo {
my $d;
$c = "ok 3\n";
$d = "ok 4\n";
- { my($a,$c) = ("ok 9\n", "ok 10\n"); ($x, $y) = ($a, $c); }
+ { my($a, undef, $c) = ("ok 9\n", "not ok 10\n", "ok 10\n");
+ ($x, $y) = ($a, $c); }
print $a, $b;
$c . $d;
}