Debian Codegraph @

ext/XS-APItest/t/mro.t

raw
1 #!perl
2
3 use XS::APItest;
4 use Test::More;
5
6 plan tests => 1;
7
8 use mro;
9 mro::set_mro(AA => 'justisa');
10
11 @AA::ISA = qw "BB CC";
12
13 sub BB::fromp { "bb" }
14 sub CC::fromp { "cc" }
15
16 is fromp AA, 'bb', 'first elem of linearisation is not ignored';