package A;
our @VERSION;
- package B;
+ package Bx; # 'B' conflicts the B module
our $VERSION = 1;
package C;
sub bar {}
package I;
+ no warnings 'once'; # work around 5.6.2
our $NOT_CODE = 1;
};
);
};
-for ('B', 'D'..'E', 'G::H') {
+for ('Bx', 'D'..'E', 'G::H') {
lives_ok {
ClassNameTests->new(class => $_);
};