missing file in change#5170
[p5sagit/p5-mst-13.2.git] / t / pragma / warn / doop
CommitLineData
0453d815 1 doop.c AOK
2
7e2040f0 3 \x%s will produce malformed UTF-8 character; use \x{%s} for that
0453d815 4
5
6__END__
7# doop.c
8use utf8 ;
9$_ = "\x80 \xff" ;
10chop ;
11EXPECT
0453d815 12########
13# doop.c
59af8754 14BEGIN {
15 if (ord("\t") == 5) {
16 print "SKIPPED\n# Character codes differ on ebcdic machines.";
17 exit 0;
18 }
19}
4438c4b7 20use warnings 'utf8' ;
0453d815 21use utf8 ;
22$_ = "\x80 \xff" ;
23chop ;
4438c4b7 24no warnings 'utf8' ;
0453d815 25$_ = "\x80 \xff" ;
26chop ;
27EXPECT
dc26be07 28\x80 will produce malformed UTF-8 character; use \x{80} for that at - line 10.
29\xff will produce malformed UTF-8 character; use \x{ff} for that at - line 10.