extra test from FAIL_RT70593 branch
Matt S Trout [Tue, 26 Jun 2012 19:10:27 +0000 (19:10 +0000)]
t/non-moo-extends.t [new file with mode: 0644]

diff --git a/t/non-moo-extends.t b/t/non-moo-extends.t
new file mode 100644 (file)
index 0000000..3a28046
--- /dev/null
@@ -0,0 +1,22 @@
+use strict;
+use warnings;
+use Test::More;
+
+{
+    package ClassA;
+    use Moo;
+
+    has 'foo' => ( is => 'ro');
+}
+
+{
+    package ClassB;
+    our @ISA = 'ClassA';
+}
+
+package main;
+
+my $o = ClassB->new;
+isa_ok $o, 'ClassB';
+
+done_testing;