diff options
Diffstat (limited to 't/lib/warnings/sv')
-rw-r--r-- | t/lib/warnings/sv | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/t/lib/warnings/sv b/t/lib/warnings/sv index 9af58c25e0..29bef82e09 100644 --- a/t/lib/warnings/sv +++ b/t/lib/warnings/sv @@ -326,3 +326,11 @@ no warnings 'numeric' ; $a = "\x{100}\x{200}" * 42; EXPECT Argument "\x{100}\x{200}" isn't numeric in multiplication (*) at - line 3. +######## +# sv.c +use warnings 'numeric' ; +$a = "\x{100}\x{200}"; $a = -$a; +no warnings 'numeric' ; +$a = "\x{100}\x{200}"; $a = -$a; +EXPECT +Argument "\x{100}\x{200}" isn't numeric in negation (-) at - line 3. |