p4raw-id: //depot/perl@18487
return $ok;
}
-print "1..21\n";
+print "1..22\n";
# Test do &sub and proper @_ handling.
$_[0] = 0;
# 6 must be interpreted as a file name here
ok( (!defined do 6) && $!, "'do 6' : $!" );
+# [perl #19545]
+push @t, ($u = (do {} . "This should be pushed."));
+ok( $#t == 0, "empty do result value" );
+
END {
1 while unlink("$$.16", "$$.17", "$$.18");
}