64-bit work. Now 32-bit platforms get a 100% make test
[p5sagit/p5-mst-13.2.git] / t / pragma / warn / doop
CommitLineData
0453d815 1 doop.c AOK
2
3 Malformed UTF-8 character
4
5
6__END__
7# doop.c
8use utf8 ;
9$_ = "\x80 \xff" ;
10chop ;
11EXPECT
12Malformed UTF-8 character at - line 4.
13########
14# doop.c
15use warning 'utf8' ;
16use utf8 ;
17$_ = "\x80 \xff" ;
18chop ;
19no warning 'utf8' ;
20$_ = "\x80 \xff" ;
21chop ;
22EXPECT
23\x80 will produce malformed UTF-8 character; use \x{80} for that at - line 4.
24\xff will produce malformed UTF-8 character; use \x{ff} for that at - line 4.
25Malformed UTF-8 character at - line 5.