diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-10-23 22:19:34 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-10-23 22:19:34 +0000 |
commit | 8eb28a70b2ec19f2782a68fd1ccf1a9a24131140 (patch) | |
tree | b40b94c2d1463ffec28bfe7922341a83d6489d19 /t/lib | |
parent | 944630198f0165148571b6785f76ff7d16cad1a8 (diff) | |
download | perl-8eb28a70b2ec19f2782a68fd1ccf1a9a24131140.tar.gz |
Negation and Unicode: sort of solves 20010303.010,
except not quite like reported in the Subject
(Perl_warner is still utf8-ignorant).
p4raw-id: //depot/perl@12614
Diffstat (limited to 't/lib')
-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. |