This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
in Carp, fix circular dep on Perl 5.6
[perl5.git] / dist / Carp / t / vivify_gv.t
CommitLineData
778a861b 1BEGIN { print "1..2\n"; }
40c2103f 2
778a861b
Z
3our $has_is_utf8; BEGIN { $has_is_utf8 = exists($utf8::{"is_utf8"}); }
4our $has_dgrade; BEGIN { $has_dgrade = exists($utf8::{"downgrade"}); }
40c2103f 5
778a861b 6use Carp;
40c2103f 7
778a861b
Z
8print !(exists($utf8::{"is_utf8"}) xor $has_is_utf8) ? "" : "not ", "ok 1\n";
9print !(exists($utf8::{"downgrade"}) xor $has_dgrade) ? "" : "not ", "ok 2\n";
40c2103f
Z
10
111;