summaryrefslogtreecommitdiff
path: root/cpan/ExtUtils-Constant/t/Constant.t
diff options
context:
space:
mode:
Diffstat (limited to 'cpan/ExtUtils-Constant/t/Constant.t')
-rw-r--r--cpan/ExtUtils-Constant/t/Constant.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpan/ExtUtils-Constant/t/Constant.t b/cpan/ExtUtils-Constant/t/Constant.t
index 17330f72fa..58053879b9 100644
--- a/cpan/ExtUtils-Constant/t/Constant.t
+++ b/cpan/ExtUtils-Constant/t/Constant.t
@@ -369,6 +369,9 @@ sub write_and_run_extension {
my ($name, $items, $export_names, $package, $header, $testfile, $num_tests,
$wc_args) = @_;
+ local *C;
+ local *XS;
+
my $c = tie *C, 'TieOut';
my $xs = tie *XS, 'TieOut';