#!./perl
print "1..8\n";
BEGIN {
chdir 't' if -d 't';
}
print "ok 1\n";
# old style as reference
local(%x);
abbrev(*x, @z);
exists $x{'li'} ||
exists $x{'lis'};
print "ok 2\n";
print "ok 3\n";
print "ok 4\n";
my $test = 5;
# wantarray
my %y = abbrev @z;
my $y = abbrev @z;
%y = ();
abbrev \%y, @z;
# warnings safe with zero arguments
my $notok;
$^W = 1;