* tests/test-hamt.c (test_iterator): Don't use compound initializer.
+2021-12-24 Bruno Haible <bruno@clisp.org>
+
+ hamt tests: Fix compilation error with AIX xlc.
+ * tests/test-hamt.c (test_iterator): Don't use compound initializer.
+
2021-12-24 Bruno Haible <bruno@clisp.org>
strerrorname_np: Fix compilation error on IRIX.
{
Hamt *hamt = test_hamt_create ();
ASSERT (insert_values (&hamt, 10, val_array1, true) == 10);
- Hamt_iterator iter [1] = {hamt_iterator (hamt)};
+ Hamt_iterator iter[1];
+ iter[0] = hamt_iterator (hamt);
size_t cnt = 0;
bool found [10] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
Hamt_entry *p;