Test that unallocated gaps within arrays have zero size.
authorNicholas Clark <nick@ccl4.org>
Mon, 18 Apr 2011 11:12:37 +0000 (12:12 +0100)
committerNicholas Clark <nick@ccl4.org>
Tue, 19 Apr 2011 19:58:00 +0000 (20:58 +0100)
commit1d6fef943eaa10527312a01e19d4b7ae4044c16d
tree2067fb7fc56a60d19fd1814864e1e4718be2706d
parent0649e45eeb471d565243c5b4a205075e43d1d85b
Test that unallocated gaps within arrays have zero size.

This gets to be a bit more complex than it would first seem, as Test::More's
is_deeply() gets the length of arrays using $#array syntax, and that operation
allocates structures within the array prior to 5.12. We can't use
stringification, as we need to test undefs, so roll our own minimal test
subroutine.
t/recurse.t