Revision history for Perl extension Devel::Size.
+ * stubbed subs no longer have CvOUTSIDE set [CPAN #77913]
* Fix for v5.17.2's OP slab allocator [CPAN #83903]
* Spelling fix to docs from gregor herrmann [CPAN #78766]
my $crunch_size = total_size(\&crunch);
cmp_ok($whack_size, '>', 0, 'CV generated at runtime has a size');
-cmp_ok($zwapp_size, '>', $whack_size,
- 'CV stubbed at compiletime is larger (CvOUTSIDE is set and followed)');
+if("$]" >= 5.017) {
+ cmp_ok($zwapp_size, '==', $whack_size,
+ 'CV stubbed at compiletime is the same size');
+} else {
+ cmp_ok($zwapp_size, '>', $whack_size,
+ 'CV stubbed at compiletime is larger (CvOUTSIDE is set and followed)');
+}
cmp_ok(length prototype \&swoosh, '>', 0, 'prototype has a length');
cmp_ok($swoosh_size, '>', $zwapp_size + length prototype \&swoosh,
'prototypes add to the size');