summaryrefslogtreecommitdiff
path: root/t/op/cproto.t
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-08-15 09:23:50 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-08-15 12:47:33 -0700
commitdcbdef25d6257b5884d709cd40a0fdf5314546ef (patch)
treee96739f83200bd18dc26fa72140ce85992755c7c /t/op/cproto.t
parent3a8944db48a72ff3e936211f8b0433b10f3c6c80 (diff)
downloadperl-dcbdef25d6257b5884d709cd40a0fdf5314546ef.tar.gz
Give not and getprotobynumber listop prototypes
They parse as list operators, but their prototypes imply unop precedence.
Diffstat (limited to 't/op/cproto.t')
-rw-r--r--t/op/cproto.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/op/cproto.t b/t/op/cproto.t
index e995416fb3..a587a316a8 100644
--- a/t/op/cproto.t
+++ b/t/op/cproto.t
@@ -105,7 +105,7 @@ getpgrp (;$)
getppid ()
getpriority ($$)
getprotobyname ($)
-getprotobynumber ($)
+getprotobynumber ($;)
getprotoent ()
getpwent ()
getpwnam ($)
@@ -153,7 +153,7 @@ my undef
ne undef
next undef
no undef
-not ($)
+not ($;)
oct (_)
open (*;$@)
opendir (*$)