summaryrefslogtreecommitdiff
path: root/lib/perl5db
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2020-03-23 11:47:24 +1100
committerTony Cook <tony@develop-help.com>2020-03-23 12:00:39 +1100
commitafd41ae4e769eb6f4f106977edabdca9ab36b497 (patch)
tree43738342a5cbe15aa2cf76e8cb0e579f488570d3 /lib/perl5db
parente32da612ec39099adc318d93b5a5a8947de7ed5a (diff)
downloadperl-afd41ae4e769eb6f4f106977edabdca9ab36b497.tar.gz
test for i Foo failing to load mro
test for #17660
Diffstat (limited to 'lib/perl5db')
-rw-r--r--lib/perl5db/t/gh-1766014
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/perl5db/t/gh-17660 b/lib/perl5db/t/gh-17660
new file mode 100644
index 0000000000..a818f79aec
--- /dev/null
+++ b/lib/perl5db/t/gh-17660
@@ -0,0 +1,14 @@
+#!perl
+
+package Bar;
+our $VERSION = "2.000";
+
+sub f {}
+
+package Foo;
+our @ISA = qw(Bar);
+our $VERSION = "1.000";
+
+package main;
+Foo->f();
+