summaryrefslogtreecommitdiffstats
path: root/t/data/compile-error/after/Foo.pm
diff options
context:
space:
mode:
authorMichael Reddick <michael.reddick@gmail.com>2013-06-20 15:20:41 -0500
committerMichael Reddick <michael.reddick@gmail.com>2013-06-20 15:20:41 -0500
commitaac3b20f3546338a8bcda64d5e4a758673734b87 (patch)
tree266bfe33b4748f0a174e820262e9dfd473d4f2ad /t/data/compile-error/after/Foo.pm
parent24eb6a6a9c8c72cb4c4dc9e95aff83a2fb2e356f (diff)
downloadclass-refresh-aac3b20f3546338a8bcda64d5e4a758673734b87.tar.gz
class-refresh-aac3b20f3546338a8bcda64d5e4a758673734b87.zip
Test case for compile error
Diffstat (limited to 't/data/compile-error/after/Foo.pm')
-rw-r--r--t/data/compile-error/after/Foo.pm10
1 files changed, 10 insertions, 0 deletions
diff --git a/t/data/compile-error/after/Foo.pm b/t/data/compile-error/after/Foo.pm
new file mode 100644
index 0000000..18b5fa8
--- /dev/null
+++ b/t/data/compile-error/after/Foo.pm
@@ -0,0 +1,10 @@
+package Foo;
+use Moose;
+
+has bar => (is => 'ro');
+
+sub meth { my $error; }
+
+no Moose;
+
+1;