5 use Test::More tests => 6;
13 is(XS::APItest::gv_const_sv(*foo), "abc", "on const glob");
14 is(XS::APItest::gv_const_sv("foo"), "abc", "on const by name");
15 is(XS::APItest::gv_const_sv($::{"foo"}), "abc", "on const by lookup");
16 is(XS::APItest::gv_const_sv(*bar), undef, "on non-const glob");
17 is(XS::APItest::gv_const_sv("bar"), undef, "on non-const by name");
18 is(XS::APItest::gv_const_sv($::{"bar"}), undef, "on non-const by lookup");