This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: [ID 20020422.003] Suggestion in Perl 5.6.1 installation on AIX
[perl5.git] / lib / diagnostics.t
CommitLineData
f5ad5489
GS
1#!./perl
2
3BEGIN {
20822f61
MG
4 chdir '..' if -d '../pod' && -d '../t';
5 @INC = 'lib';
f5ad5489
GS
6}
7
d23f0205 8use Test::More tests => 2;
f5ad5489 9
d23f0205 10BEGIN { use_ok('diagnostics') }
f5ad5489 11
d23f0205 12require base;
f5ad5489 13
d23f0205
MS
14eval {
15 'base'->import(qw(I::do::not::exist));
16};
f5ad5489 17
d23f0205 18is( $@, '', 'diagnostics not tripped up by "use base qw(Dont::Exist)"' );