This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add .t for malformed-UTF-8 toke.c testing
[perl5.git] / t / lib / croak / toke_l1
CommitLineData
16a07156
KW
1# File is encoded in latin-1 so can have malformed-utf8
2__END__
3# NAME [perl #129037]
4BEGIN{{};$^H=-1}0Ã
5EXPECT
6Malformed UTF-8 character: \xc3\x0a (unexpected non-continuation byte 0x0a, immediately after start byte 0xc3; need 2 bytes, got 1) at - line 1.
7Constant(0): $^H{integer} is not defined at - line 1, at end of line
8Malformed UTF-8 character (fatal) at - line 1.
9########