Skip to content

Commit

Permalink
test for RT #73910
Browse files Browse the repository at this point in the history
  • Loading branch information
FROGGS committed Nov 9, 2013
1 parent 535f150 commit dd282b8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion S10-packages/use-with-class.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use Test;

# L<S11/Compile-time Importation>

plan 8;
plan 9;

# test that 'use' imports class names defined in importet packages

Expand Down Expand Up @@ -46,4 +46,10 @@ ok Stupid::Class.new(), 'can instantiate object of "imported" class';

}

# RT #73910
{
use Foo;
lives_ok { class Bar { } }, 'declaring a class after use-ing a module (RT #73910)'
}

# vim: ft=perl6

0 comments on commit dd282b8

Please sign in to comment.