6 plan skip_all => 'B::C required for testing perlcc -O3'
7 unless eval "require B::C;";
9 plan skip_all => "B::C is too old (require 1.48, have $B::C::VERSION)"
10 unless eval { B::C->VERSION('1.48') };
12 my $f = "t/rt96893x.pl";
13 open my $fh, ">", $f; END { unlink $f if $f }
14 print $fh 'use Sub::Name; subname("main::bar", sub{42}); print "ok 1\n";';
17 system($^X, qw(-Mblib -S perlcc -O3 -UCarp -UConfig -r), $f);
19 unlink "t/rt96893x", "t/rt96893x.exe";