p4raw-id: //depot/perl@29262
}
$var = 123;
-ok( try ("abc"), 'reference a constant in a sub');
+{
+ local $TODO = $Config::Config{useithreads} ? "doesn't work with threads" : undef;
+ ok( try ("abc"), 'reference a constant in a sub');
+}
ok( !try ($var), 'reference a non-constant in a sub');
-