proto.t revision 7c478bd95313f5f23a4c958a745db2134aa03244
#!./perl
BEGIN {
chdir 't' if -d 't';
print "1..0 # Skip: List::Util was not built\n";
exit 0;
}
}
}
BEGIN {
print "1..0\n";
$skip=1;
}
}
print "1..13\n";
$test = 0;
$expected = shift;
}
else {
}
}
sub f { }
sub g (@) { }
sub non_existent;
print "not " unless $@ =~ /^set_prototype: not a subroutine reference/;
print "ok ", ++$test, " - error msg\n";
EOT