Spider2/tests/dynarr_get2_death.c

10 lines
225 B
C

#include "util.h"
int tests_dynarr_get2_death(int argc, char **argv) {
int_dynarr_t a = dynarr_initi(int_dynarr_t);
for (int i = 0; i < 1000; i++)
dynarr_push(a, i);
dynarr_get(a, a.len);
return 0;
}