'print do { foreach (1, 2) { 1; } }'"
p4raw-id: //depot/perl@27904
#!./perl
-print "1..79\n";
+print "1..80\n";
for ($i = 0; $i <= 10; $i++) {
$x[$i] = $i;
TODO: {
$test++;
+ local $TODO = "RT #1085: what should be output of perl -we 'print do { foreach (1, 2) { 1; } }'";
+ if (do {17; foreach (1, 2) { 1; } } != 17) {
+ print "not ";
+ }
+ print "ok $test # TODO $TODO\n";
+}
+
+TODO: {
+ $test++;
no warnings 'reserved';
local $TODO = "RT #2166: foreach spuriously autovivifies";
my %h;