xref: /openbsd/gnu/usr.bin/perl/t/lib/croak/toke_l1 (revision 73471bf0)
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.
7Malformed UTF-8 character (fatal) at - line 1.
8########
9# NAME [perl #129157]
10BEGIN {$^H {q} = sub {pop and-t          write gmtime     getpwuid  @p }; $^H =-6**4,0*215}
11"@ust we�����������tprotobyname"; "9 "Y=n {pop and-p[p };shmr     [A
12  G----C
13EXPECT
14Malformed UTF-8 character: \xc3\xc3 (unexpected non-continuation byte 0xc3, immediately after start byte 0xc3; need 2 bytes, got 1) at - line 2.
15Malformed UTF-8 character (fatal) at - line 2.
16########
17# NAME [perl #130675]
18use utf8;y'0�''
19EXPECT
20Malformed UTF-8 character: \xc1\x27 (unexpected non-continuation byte 0x27, immediately after start byte 0xc1; need 2 bytes, got 1) at - line 1.
21Malformed UTF-8 character: \xc1\x27 (any UTF-8 sequence that starts with "\xc1" is overlong which can and should be represented with a different, shorter sequence) at - line 1.
22Malformed UTF-8 character (fatal) at - line 1.
23