Test for bug 20010515.004
Benjamin Sugars [Thu, 17 May 2001 15:48:18 +0000 (11:48 -0400)]
Message-ID: <Pine.LNX.4.21.0105171544270.9064-100000@marmot.rim.canoe.ca>

p4raw-id: //depot/perl@10149

t/op/misc.t

index 8c45342..885fad4 100755 (executable)
@@ -660,3 +660,15 @@ new_pmop "abcdef"; reset;
 # coredump in 5.7.1
 close STDERR; die;
 EXPECT
+########
+# Bug 20010515.004
+my @h = 1 .. 10;
+bad(@h);
+sub bad {
+   undef @h;
+   print "O";
+   print for @_;
+   print "K";
+}
+EXPECT
+OK