summaryrefslogtreecommitdiff
path: root/t/comp/proto.t
diff options
context:
space:
mode:
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("",@_) };