xref: /openbsd-src/gnu/usr.bin/perl/t/lib/croak/toke_l1 (revision 5759b3d249badf144a6240f7eec4dcf9df003e6b)
1*5759b3d2Safresh1# File is encoded in latin-1 so can have malformed-utf8
2*5759b3d2Safresh1__END__
3*5759b3d2Safresh1# NAME [perl #129037]
4*5759b3d2Safresh1BEGIN{{};$^H=-1}0�
5*5759b3d2Safresh1EXPECT
6*5759b3d2Safresh1Malformed UTF-8 character: \xc3\x0a (unexpected non-continuation byte 0x0a, immediately after start byte 0xc3; need 2 bytes, got 1) at - line 1.
7*5759b3d2Safresh1Malformed UTF-8 character (fatal) at - line 1.
8*5759b3d2Safresh1########
9*5759b3d2Safresh1# NAME [perl #129157]
10*5759b3d2Safresh1BEGIN {$^H {q} = sub {pop and-t          write gmtime     getpwuid  @p }; $^H =-6**4,0*215}
11*5759b3d2Safresh1"@ust we�����������tprotobyname"; "9 "Y=n {pop and-p[p };shmr     [A
12*5759b3d2Safresh1  G----C
13*5759b3d2Safresh1EXPECT
14*5759b3d2Safresh1Malformed UTF-8 character: \xc3\xc3 (unexpected non-continuation byte 0xc3, immediately after start byte 0xc3; need 2 bytes, got 1) at - line 2.
15*5759b3d2Safresh1Malformed UTF-8 character (fatal) at - line 2.
16*5759b3d2Safresh1########
17*5759b3d2Safresh1# NAME [perl #130675]
18*5759b3d2Safresh1use utf8;y'0�''
19*5759b3d2Safresh1EXPECT
20*5759b3d2Safresh1Malformed UTF-8 character: \xc1\x27 (unexpected non-continuation byte 0x27, immediately after start byte 0xc1; need 2 bytes, got 1) at - line 1.
21*5759b3d2Safresh1Malformed 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.
22*5759b3d2Safresh1Malformed UTF-8 character (fatal) at - line 1.
23