summaryrefslogtreecommitdiffstats
path: root/t/base2
diff options
context:
space:
mode:
Diffstat (limited to 't/base2')
-rw-r--r--t/base2/Bar.pm7
-rw-r--r--t/base2/Foo.pm9
2 files changed, 16 insertions, 0 deletions
diff --git a/t/base2/Bar.pm b/t/base2/Bar.pm
new file mode 100644
index 0000000..207dc68
--- /dev/null
+++ b/t/base2/Bar.pm
@@ -0,0 +1,7 @@
+package Bar;
+use strict;
+use warnings;
+
+sub bar { "bar" }
+
+1;
diff --git a/t/base2/Foo.pm b/t/base2/Foo.pm
new file mode 100644
index 0000000..cfb1bb4
--- /dev/null
+++ b/t/base2/Foo.pm
@@ -0,0 +1,9 @@
+package Foo;
+use strict;
+use warnings;
+
+use base 'Bar';
+
+sub foo { "foo" }
+
+1;