package Baz;
use strict;
use warnings;
+ use Class::C3;
require NEXT; # load this as late as possible so we can catch the test skip
use base 'Bar', 'Fuz';
sub foo { 'Baz::foo => ' . (shift)->NEXT::foo }
}
+Class::C3::initialize();
+
is(Foo->foo, 'Foo::foo', '... got the right value from Foo->foo');
is(Fuz->foo, 'Fuz::foo => Foo::foo', '... got the right value from Fuz->foo');
is(Bar->foo, 'Bar::foo => Foo::foo', '... got the right value from Bar->foo');