summaryrefslogtreecommitdiff
path: root/tests/spvec.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spvec.c')
-rw-r--r--tests/spvec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/spvec.c b/tests/spvec.c
index aa9b96c..b46bd88 100644
--- a/tests/spvec.c
+++ b/tests/spvec.c
@@ -21,6 +21,9 @@ int main()
atexit(covsrv_destroy);
#endif
struct ints ints = ints_create();
+ foreach(ints, iter, &ints) {
+ assert(false && "iterating empty spvec");
+ }
/* ensure stability before we do anything else */
assert(ints_reserve(&ints, 1));