use blib 't/Sub-Op-LexicalSub';
-use Test::More tests => (1 + 3) * 15 + (1 + 2 * 3) * 2 + 2 * 28;
+use Test::More tests => (1 + 3) * 16 + (1 + 2 * 3) * 2 + 2 * 29;
our $called;
----
fetch # () # [ 1, undef, 2 ]
####
+my ($cb, $err);
+BEGIN {
+ $cb = do { no strict 'refs'; \&{__PACKAGE__.'::cvref'} };
+ eval { $cb->() };
+ $err = $@ =~ /^Undefined subroutine &main::cvref/ ? undef : $@;
+}
+cvref $err;
+----
+cvref # () # [ undef ]
+####
our $scalr = 1;
scalr $scalr;
----