4 use Test::More tests => 4;
10 has lazy_weak_with_default => (
18 has weak_with_default => (
27 my $o = MyClass->new();
28 is($o->weak_with_default, undef);
29 is($o->lazy_weak_with_default, undef);
31 MyClass->meta->make_immutable();
34 is($o->weak_with_default, undef);
35 is($o->lazy_weak_with_default, undef);