The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!/usr/bin/perl

use strict;
use warnings;

use Test::More tests => 3;

BEGIN {
    use_ok('Moose');
}

=pod

This just makes sure that the Bar gets 
a metaclass initialized for it correctly.

=cut

{
    package Foo; 
    use Moose; 

    package Bar; 
    use strict;
    use warnings;
        
    use base 'Foo'; 
}

my $bar = Bar->new;
isa_ok($bar, 'Bar');
isa_ok($bar, 'Foo');