The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!perl -w

use strict;
use Test::More tests => 1;

use Test::LeakTrace;

sub foo{
	my $foo = 42;
	my @array;
	my %hash;

	[\$foo, \@array, \%hash];
}


no_leaks_ok \&foo, 'PADSTALE sv is not a memory leak';