summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sv.c b/sv.c
index 7ce4b6d40d..534638c5fe 100644
--- a/sv.c
+++ b/sv.c
@@ -6102,6 +6102,7 @@ Perl_sv_clear(pTHX_ SV *const orig_sv)
PL_last_swash_hv = NULL;
}
Perl_hv_undef_flags(aTHX_ MUTABLE_HV(sv), HV_NAME_SETALL);
+ assert(!HvARRAY((HV*)sv));
break;
case SVt_PVAV:
{