summaryrefslogtreecommitdiff
path: root/t/comp/proto.t
diff options
context:
space:
mode:
authorSam Tregar <sam@tregar.com>2002-01-05 19:29:25 -0500
committerAbhijit Menon-Sen <ams@wiw.org>2002-01-06 04:52:50 +0000
commit420cdfc116ef70c5fc76ac6f0fd68df66919fd46 (patch)
tree576bd15f4f0b7295bc55a41b75c400563a7d35cc /t/comp/proto.t
parent36df99d62e5fb6553737ac83b8d35e75836213ae (diff)
downloadperl-420cdfc116ef70c5fc76ac6f0fd68df66919fd46.tar.gz
Bad prototype detection now an optional warning
Message-Id: <Pine.LNX.4.33.0201060023160.3715-200000@localhost.localdomain> p4raw-id: //depot/perl@14101
Diffstat (limited to 't/comp/proto.t')
-rwxr-xr-xt/comp/proto.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/comp/proto.t b/t/comp/proto.t
index 4141f2abc6..e020be7536 100755
--- a/t/comp/proto.t
+++ b/t/comp/proto.t
@@ -547,6 +547,7 @@ print "ok ", $i++, "\n";
# check that obviously bad prototypes are getting warnings
{
+ use warnings 'syntax';
my $warn = "";
local $SIG{__WARN__} = sub { $warn .= join("",@_) };