3 # NOTE: Please don't add tests to this file unless they *need* to be run in
4 # separate executable and can't simply use eval.
12 if ($Config{'use5005threads'})
14 print "1..0 # Skip: this perl is threaded\n";
24 sub foo { local(@_) = ('p', 'q', 'r'); }
25 sub bar { unshift @_, 'D'; @_ }
26 sub baz { push @_, 'E'; return @_ }
29 print "not " unless join('',foo('a', 'b', 'c')) eq 'pqr';
30 print "ok ",$t++,"\n";
31 print "not" unless join('',bar('d')) eq 'Dd';
32 print "ok ",$t++,"\n";
33 print "not" unless join('',baz('e')) eq 'eE';
34 print "ok ",$t++,"\n";