Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (20 sloc) 409 Bytes
use v6;
use Test;
plan 4;
#L<S02/Radix interpolation/"Characters indexed by hex numbers">
my @unicode =
'a', "\x61",
'æ', "\xE6",
'', "\x5583",
'𨮁', "\x28B81",
for @unicode -> $literal, $codepoint {
'Does a character codepoint (\x..) evaluate to the same thing as its literal?'
# vim: ft=perl6
Jump to Line
Something went wrong with that request. Please try again.