projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65191a1
)
disable correct warning
author
Robin Houston
<robin@cpan.org>
Thu, 26 Apr 2001 16:09:35 +0000
(17:09 +0100)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 26 Apr 2001 18:17:42 +0000
(18:17 +0000)
Message-ID: <
20010426160934
.A27140@puffinry.freeserve.co.uk>
p4raw-id: //depot/perl@9858
t/comp/proto.t
patch
|
blob
|
history
diff --git
a/t/comp/proto.t
b/t/comp/proto.t
index d0e0acbc0b7d7512ca47448c3306e32093146ba6..ae0f9abfcba13a87747afc0d0d2d4ba7ddfd2ac6 100755
(executable)
--- a/
t/comp/proto.t
+++ b/
t/comp/proto.t
@@
-492,7
+492,7
@@
sub sreftest (\$$) {
# string "parse error".
#
for my $p ( "", qw{ () ($) ($@) ($%) ($;$) (&) (&\@) (&@) (%) (\%) (\@) } ) {
- no warnings '
redefin
e';
+ no warnings '
prototyp
e';
my $eval = "sub evaled_subroutine $p { &void *; }";
eval $eval;
print "# eval[$eval]\nnot " unless $@ && $@ =~ /(parse|syntax) error/i;