10 This tests a bug sent via RT #39001
20 Foo->meta->superclasses('Foo');
21 } qr/^Recursive inheritance detected/, "error occurs when extending oneself";
29 Foo->meta->superclasses('Bar');
33 Bar->meta->superclasses('Foo');
34 } qr/^Recursive inheritance detected/, "error occurs when Bar extends Foo, when Foo is a Bar";