add a warning for immutablizing a class with mutable ancestors
[gitmo/Moose.git] / t / 060_compat / 003_foreign_inheritence.t
index f99cac9..14649c8 100644 (file)
@@ -42,6 +42,8 @@ use Test::Exception;
     __PACKAGE__->meta->add_attribute(
         'squeegee' => ( accessor => 'squeegee' ) );
 
+    __PACKAGE__->meta->make_immutable(inline_constructor => 0);
+
     package Old::Bucket::Nose;
 
     # see http://www.moosefoundation.org/moose_facts.htm