| 1 | use strictscip-perl cpan B-Compiling 0.06 strict/; |
| 2 | use warningsscip-perl cpan B-Compiling 0.06 warnings/; |
| 3 | use Test::Morescip-perl cpan B-Compiling 0.06 Test/More/ tests => 4; |
| 4 | |
| 5 | use B::Compilingscip-perl cpan B-Compiling 0.06 B/Compiling/; |
| 6 | |
| 7 | BEGIN { |
| 8 | okscip-perl cpan B-Compiling 0.06 main/ok().(definedscip-perl cpan B-Compiling 0.06 main/defined(). &PL_compilingscip-perl cpan B-Compiling 0.06 main/PL_compiling()., 'PL_compiling gets exported'); |
| 9 | |
| 10 | my $cop = PL_compiling; |
| 11 | okscip-perl cpan B-Compiling 0.06 main/ok().($cop = PL_compiling, 'returns the same reference every time'); |
| 12 | |
| 13 | isa_okscip-perl cpan B-Compiling 0.06 main/isa_ok().($cop, 'B::COP'); |
| 14 | likescip-perl cpan B-Compiling 0.06 main/like().($cop->filescip-perl cpan B-Compiling 0.06 main/file()., qr{t/basic.t$}, 'basic sanity'); |
| 15 | } |