Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add test file to test precompilation in general
  • Loading branch information
FROGGS committed Jul 18, 2014
1 parent 87f2ed3 commit 0cbc65b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions S10-packages/precompilation.t
@@ -0,0 +1,12 @@
use Test;

plan 1;

# RT #76456
{
my $cur = CompUnitRepo::Local::File.new("t/spec/packages");
my ($cu) = $cur.candidates('RT76456', :no-precomp);
ok $cu.precomp(:force), 'precompiled a parameterized role';
unlink $cu.precomp-path if $cu.precomp-path.IO.e;
}

1 change: 1 addition & 0 deletions packages/RT76456.pm
@@ -0,0 +1 @@
role A[::T] { }

0 comments on commit 0cbc65b

Please sign in to comment.