Spider2/tests/dynarr_get2_death.c

10 lines
225 B
C
Raw Permalink Normal View History

2024-09-01 16:12:11 +02:00
#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;
}