"Undefined subroutine &main::foo called at -e line 1.\n",
"gv_try_downgrade does not anonymise CVs referenced elsewhere";
+SKIP: {
+ skip_if_miniperl("no dynamic loading on miniperl, so can't load IO::File", 4);
+
package glob_constant_test {
sub foo { 42 }
use constant bar => *foo;
::is "$@", "", 'no error from eval { glob_constant->method() }';
}
+}
+
{
my $free2;
local $SIG{__WARN__} = sub { ++$free2 if shift =~ /Attempt to free/ };