Debian Codegraph @

ext/XS-APItest/t/newDEFSVOP.t

raw
1 #!perl
2
3 use strict;
4 use warnings;
5
6 use Test::More tests => 7;
7
8 use XS::APItest qw(DEFSV);
9
10 is $_, undef;
11 is DEFSV, undef;
12 is \DEFSV, \$_;
13
14 DEFSV = "foo";
15 is DEFSV, "foo";
16 is $_, "foo";
17
18 $_ = "bar";
19 is DEFSV, "bar";
20 is $_, "bar";