diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-07-04 16:00:45 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-07-04 16:31:56 -0600 |
commit | 60282a494b5eb9b1c93b895d1cc5849b1d17d28a (patch) | |
tree | e90d6b6de6b91dbdbf406a599d6c76312322c077 /t | |
parent | 2e0b8fbeab3502bee36f25825c3cdd0d075c4fd3 (diff) | |
download | perl-60282a494b5eb9b1c93b895d1cc5849b1d17d28a.tar.gz |
PATCH: [perl #114178] di/ds/ig exempt from warnings in void context
Diffstat (limited to 't')
-rw-r--r-- | t/lib/warnings/op | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/t/lib/warnings/op b/t/lib/warnings/op index e2333536a0..5696ed4fe9 100644 --- a/t/lib/warnings/op +++ b/t/lib/warnings/op @@ -225,6 +225,9 @@ eval { getpwuid 1 }; # OP_GPWUID prototype "foo"; # OP_PROTOTYPE $a ~~ $b; # OP_SMARTMATCH $a <=> $b; # OP_NCMP +"dsatrewq"; +"diatrewq"; +"igatrewq"; use 5.015; __SUB__ # OP_RUNCV EXPECT @@ -269,7 +272,10 @@ Useless use of getpwuid in void context at - line 53. Useless use of subroutine prototype in void context at - line 54. Useless use of smart match in void context at - line 55. Useless use of numeric comparison (<=>) in void context at - line 56. -Useless use of __SUB__ in void context at - line 58. +Useless use of a constant ("dsatrewq") in void context at - line 57. +Useless use of a constant ("diatrewq") in void context at - line 58. +Useless use of a constant ("igatrewq") in void context at - line 59. +Useless use of __SUB__ in void context at - line 61. ######## # op.c use warnings 'void' ; close STDIN ; |