diff --git a/S32-exceptions/misc.t b/S32-exceptions/misc.t index 6074834953..5a3bd59471 100644 --- a/S32-exceptions/misc.t +++ b/S32-exceptions/misc.t @@ -356,4 +356,6 @@ if $emits_suggestions { ok $!.message !~~ /Did you mean/, "doesn't suggest if there's no suggestions."; } +throws_like 'class Foobar is Foobar', X::Inheritance::SelfInherit, name => "Foobar"; + done;