}
use strict 'vars';
-use Errno;
+eval 'use Errno';
+die $@ if $@ and !$ENV{PERL_CORE_MINITEST};
print "1..19\n";
print "";
}
+$\ = '';
+
if (!exists &Errno::EBADF) {
print "ok 19 # skipped: no EBADF\n";
} else {
$! = 0;
+ no warnings 'unopened';
print NONEXISTENT "foo";
print "not " if ($! != &Errno::EBADF);
print "ok 19\n";