4 use Test::More tests => 2;
10 has foo => (is => 'ro');
14 local $TODO = '+attributes in roles that compose over other roles';
20 has '+foo' => (default => 'bar');
27 ok( (not $@), '+attribute created in child role' );
29 is eval{ AClass->new->foo }, 'bar',
30 '+attribute in child role works correctly';