# define SS_NORMAL 0
#endif
-#define ERRSV GvSV(PL_errgv)
+#define ERRSV GvSVn(PL_errgv)
#ifdef PERL_CORE
# define DEFSV (0 + GvSVn(PL_defgv))
#else
require './test.pl';
}
-print "1..99\n";
+print "1..101\n";
eval 'print "ok 1\n";';
print "ok $test - RT 63110\n";
$test++;
}
+
+curr_test($test);
+
+fresh_perl_is(<<'EOP', "ok\n", undef, 'RT #70862');
+$::{'@'}='';
+eval {};
+print "ok\n";
+EOP
+
+fresh_perl_is(<<'EOP', "ok\n", undef, 'variant of RT #70862');
+eval {
+ $::{'@'}='';
+};
+print "ok\n";
+EOP