append.t revision 7c478bd95313f5f23a4c958a745db2134aa03244
#!./perl
# $RCSfile: append.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:36 $
print "1..13\n";
$a = 'ab' . 'c'; # compile time
$b = 'def';
$c = $a . $b;
print "#1\t:$c: eq :abcdef:\n";
$c .= 'xyz';
print "#2\t:$c: eq :abcdefxyz:\n";
$_ = $a;
$_ .= $b;
print "#3\t:$_: eq :abcdef:\n";
# test that when right argument of concat is UTF8, and is the same
# variable as the target, and the left argument is not UTF8, it no
# longer frees the wrong string.
{
sub r2 {
}
}
# test that nul bytes get copied
{
}