use Test::More tests => 52 * 4;
-use feature 'state';
-
my ($obj, $pkg, $cb, $x, @a);
our $y;
-state $z;
sub meh;
{
meh $y;
####
meh $y, 1, 2;
-####
+#### # use feature 'state'; state $z
meh $z;
-####
+#### # use feature 'state'; state $z
meh $z, 1, 2;
####
print;
print $y;
####
print $y "dongs\n";
-####
+#### # use feature 'state'; state $z
print $z;
-####
+#### # use feature 'state'; state $z
print $z "hlagh\n";
####
print STDOUT "bananananananana\n";
use Test::More tests => 50 * 6 + 2;
-use feature 'state';
-
my ($obj, $x);
our ($y, $bloop);
-state $z;
sub expect {
my ($pkg) = @_;
meh $y 1, 2;
####
meh $y, 1, 2;
-####
+#### # use feature 'state'; state $z
meh $z;
-####
+#### # use feature 'state'; state $z
meh $z 1, 2;
-####
+#### # use feature 'state'; state $z
meh $z, 1, 2;
####
package sploosh;