This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63433e9
)
Test for perl #47047
author
Rick Delaney
<rick@bort.ca>
Mon, 5 Sep 2016 16:25:59 +0000
(09:25 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Mon, 5 Sep 2016 16:32:39 +0000
(09:32 -0700)
t/lib/warnings/gv
patch
|
blob
|
blame
|
history
diff --git
a/t/lib/warnings/gv
b/t/lib/warnings/gv
index
85e4c0a
..
8a93f8b
100644
(file)
--- a/
t/lib/warnings/gv
+++ b/
t/lib/warnings/gv
@@
-43,6
+43,8
@@
sub Other::AUTOLOAD { 1 } sub Other::fred {}
@ISA = qw(Other) ;
use warnings 'deprecated' ;
fred() ;
+my $x = \&barney;
+(bless[])->barney;
EXPECT
Use of inherited AUTOLOAD for non-method main::fred() is deprecated at - line 5.
########