]> git.vpit.fr Git - perl/modules/Lexical-Types.git/blobdiff - t/13-padsv.t
Use a pointer table allocated on shared memory
[perl/modules/Lexical-Types.git] / t / 13-padsv.t
index 5e5cc3d32d49f8e00c6732ed6fa18630131c91e6..ae3cbff3ecd485290b54d3504347376803dac7a5 100644 (file)
@@ -3,6 +3,8 @@
 use strict;
 use warnings;
 
+use Config qw/%Config/;
+
 use Test::More tests => 4;
 
 sub Str::TYPEDSCALAR {
@@ -30,7 +32,10 @@ my @lines;
 
 sub Int::TYPEDSCALAR { push @lines, (caller(0))[2]; () }
 
-{
+SKIP: {
+ skip 'Broken with threaded perls before 5.8.4' => 1
+                                      if $Config{useithreads} and $] < 5.008004;
+
  use Lexical::Types as => sub {
   # In 5.10, this closure is compiled before hints are enabled, so no hintseval
   # op is added at compile time to propagate the hints inside the eval.