diff options
Diffstat (limited to 't/comp/proto.t')
-rwxr-xr-x | t/comp/proto.t | 1 |
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("",@_) }; |