3 if( $ENV{PERL_CORE} ) {
11 use Test::More tests => 9;
22 use parent -norequire, 'Dummy::InlineChild';
27 use parent "Dummy'Outside";
33 can_ok $obj, 'exclaim';
34 is $obj->exclaim, "I CAN FROM Dummy", 'Inheritance is set up correctly';
38 isa_ok $obj, 'Dummy::InlineChild';
39 can_ok $obj, 'exclaim';
40 is $obj->exclaim, "I CAN FROM Dummy::InlineChild", 'Inheritance is set up correctly for inlined classes';
44 isa_ok $obj, 'Dummy::Outside';
45 can_ok $obj, 'exclaim';
46 is $obj->exclaim, "I CAN FROM Dummy::Outside", "Inheritance is set up correctly for classes inherited from via '";