fix deep recursion when calling isa check within isa check
[gitmo/Moo.git] / t / non-moo-extends.t
CommitLineData
37c28fb3 1use strict;
2use warnings;
3use Test::More;
4
5{
6 package ClassA;
7 use Moo;
8
9 has 'foo' => ( is => 'ro');
10}
11
12{
13 package ClassB;
14 our @ISA = 'ClassA';
15}
16
17package main;
18
19my $o = ClassB->new;
20isa_ok $o, 'ClassB';
21
22done_testing;