diff options
Diffstat (limited to 'contrib/perl5/ext/Thread/sync2.t')
-rw-r--r-- | contrib/perl5/ext/Thread/sync2.t | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/perl5/ext/Thread/sync2.t b/contrib/perl5/ext/Thread/sync2.t index 0901da4..ffc74b4 100644 --- a/contrib/perl5/ext/Thread/sync2.t +++ b/contrib/perl5/ext/Thread/sync2.t @@ -2,8 +2,7 @@ use Thread; $global = undef; -sub single_file { - use attrs 'locked'; +sub single_file : locked { my $who = shift; my $i; |