summaryrefslogtreecommitdiffstats
path: root/t/data/compile-error/middle/Foo.pm
diff options
context:
space:
mode:
Diffstat (limited to 't/data/compile-error/middle/Foo.pm')
-rw-r--r--t/data/compile-error/middle/Foo.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/data/compile-error/middle/Foo.pm b/t/data/compile-error/middle/Foo.pm
index 3e3946c..d7a61f1 100644
--- a/t/data/compile-error/middle/Foo.pm
+++ b/t/data/compile-error/middle/Foo.pm
@@ -3,7 +3,7 @@ use Moose;
has bar => (is => 'ro');
-sub meth { $error }
+sub meth { $error; 2 }
no Moose;