about summary refs log tree commit diff
path: root/malloc/tst-dynarray-shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'malloc/tst-dynarray-shared.h')
-rw-r--r--malloc/tst-dynarray-shared.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/malloc/tst-dynarray-shared.h b/malloc/tst-dynarray-shared.h
index faba66f580..1de9c04be8 100644
--- a/malloc/tst-dynarray-shared.h
+++ b/malloc/tst-dynarray-shared.h
@@ -73,5 +73,8 @@ struct str_array
     TEST_VERIFY_EXIT (dynarray_##type##_emplace (dyn) == NULL);      \
     dynarray_##type##_free (dyn);                                    \
     CHECK_INIT_STATE (type, (dyn));                                  \
+    /* These functions should not assert.  */                        \
+    dynarray_##type##_begin (dyn);                                   \
+    dynarray_##type##_end (dyn);                                     \
     (void) 0;                                                        \
   })