diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-06 13:59:58 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-06 13:59:58 +0000 |
commit | 26d16222cddf6d9ec04633e71cdbd4edb40973eb (patch) | |
tree | b4426d37f6163f5a65da8e6d098b47630801fe7c /t/pragma/warn | |
parent | 1ec03f31c05cb7b2516d0c8aa2de76b8de1495ee (diff) | |
download | perl-26d16222cddf6d9ec04633e71cdbd4edb40973eb.tar.gz |
allow "\x{12ab}" even without C<use utf8>
p4raw-id: //depot/perl@5000
Diffstat (limited to 't/pragma/warn')
-rw-r--r-- | t/pragma/warn/toke | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/t/pragma/warn/toke b/t/pragma/warn/toke index 515241ab4d..48f97dd10c 100644 --- a/t/pragma/warn/toke +++ b/t/pragma/warn/toke @@ -89,10 +89,6 @@ toke.c AOK sub time {} my $a = time() - Use of \\x{} without utf8 declaration - $_ = " \x{123} " ; - - \x%.*s will produce malformed UTF-8 character; use \x{%.*s} for that use utf8 ; $_ = "\xffe" @@ -440,18 +436,7 @@ EXPECT Ambiguous call resolved as CORE::time(), qualify as such or use & at - line 4. ######## # toke.c -use warnings 'utf8' ; -eval <<'EOE'; -{ -#line 30 "foo" - $_ = " \x{123} " ; -} -EOE -EXPECT -Use of \x{} without utf8 declaration at foo line 30. -######## -# toke.c -no warnings 'utf8' ; +use warnings ; eval <<'EOE'; { #line 30 "foo" |