Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
test class redeclaration of a package
  • Loading branch information
moritz committed Oct 5, 2011
1 parent ee33e98 commit ef8462e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion S10-packages/basic.t
Expand Up @@ -4,7 +4,7 @@ use v6;

use Test;

plan 55;
plan 56;

my regex fairly_conclusive_platform_error {:i ^\N*<<Null?>>}

Expand Down Expand Up @@ -224,4 +224,11 @@ eval_dies_ok 'module RT80856 is not_RT80856 {}',
is Int.WHO.WHAT.gist, 'Stash()', 'and Stash correctly .gist-ifies';
}


# RT #98856
eval_lives_ok q[
package NewFoo { }
class NewFoo { }
], 'can re-declare a class over a package of the same name';

# vim: ft=perl6

0 comments on commit ef8462e

Please sign in to comment.