3 if( $ENV{PERL_CORE} ) {
15 plan skip_all => ".pmc are only available with 5.6 and later" if $] < 5.006;
16 plan skip_all => ".pmc are disabled in this perl"
17 if $Config{ccflags} =~ /(?<!\w)-DPERL_DISABLE_PMC\b/;
20 use vars qw($got_here);
25 use parent 'FileThatOnlyExistsAsPMC';
31 is $res, 1, "Block ran until the end";
32 is $error, '', "No error";
34 my $obj = bless {}, 'FileThatOnlyExistsAsPMC';
35 can_ok $obj, 'exclaim';