From 60282a494b5eb9b1c93b895d1cc5849b1d17d28a Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Thu, 4 Jul 2013 16:00:45 -0600 Subject: PATCH: [perl #114178] di/ds/ig exempt from warnings in void context --- t/lib/warnings/op | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 't') 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 ; -- cgit v1.2.1